Skip to content

Commit

Permalink
Minor improvement on Due date
Browse files Browse the repository at this point in the history
  • Loading branch information
jmperro committed Nov 10, 2021
1 parent 31e35d9 commit b51b83c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
$datos.html('<h2>' + jsDato.name + '</h2>');

// Date
if (jsDato.due != '') {
if (jsDato.due != null) {
let fechVenc = new Date(jsDato.due);

$datos.append('<div class=""><strong>Expire:</strong> ' + fechVenc + '</div>');
Expand Down

0 comments on commit b51b83c

Please sign in to comment.