mirror of
https://github.com/wekan/wekan.git
synced 2025-12-29 21:58:49 +01:00
Merge branch 'listenerri-patch-1'
This commit is contained in:
commit
472350e56f
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class CardStartDate extends CardDate {
|
|||
// if dueAt or endAt exist & are > startAt, startAt doesn't need to be flagged
|
||||
if ((endAt && theDate.isAfter(endAt)) || (dueAt && theDate.isAfter(dueAt)))
|
||||
classes += 'long-overdue';
|
||||
else if (theDate.isBefore(now, 'minute')) classes += 'almost-due';
|
||||
else if (theDate.isAfter(now)) classes += '';
|
||||
else classes += 'current';
|
||||
return classes;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue