Enhancement (related to #452)
- A task is now considered overdue if it is past the due date, not due before today.
This commit is contained in:
@@ -393,7 +393,7 @@ int getDueState (const std::string& due)
|
||||
Date rightNow;
|
||||
Date thisDay (rightNow.month (), rightNow.day (), rightNow.year ());
|
||||
|
||||
if (dt < thisDay)
|
||||
if (dt < rightNow)
|
||||
return 3;
|
||||
|
||||
if (dt == thisDay)
|
||||
|
||||
Reference in New Issue
Block a user