due soon
This commit is contained in:
parent
5321723815
commit
f0c2f1f8f8
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue