This commit is contained in:
Kameron Kenny 2019-06-25 21:51:42 -04:00
parent 5321723815
commit f0c2f1f8f8
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ function genList(punchList, element) {
list += '<div class="three columns punch-default">' + punchList[i].nDate + '</div>';
if ( (new Date(punchList[i].nDate).getTime() - new Date().getTime()) <= 0 ) {
list += '<div class="two columns punch-default overdue">OVERDUE</div>';
} else if ( new Date(punchList[i].nDate).getTime() - new Date().getTime()) <= 259200 ) {
} else if ( (new Date(punchList[i].nDate).getTime() - new Date().getTime()) <= 259200 ) {
list += '<div class="two columns punch-default duesoon">DUE SOON</div>';
}
list += '</div>';