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:
Paul Beckingham
2010-07-30 22:54:55 -04:00
parent d0db821298
commit fecdb930d4

View File

@@ -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)