From fecdb930d412e25faa7fb0b2baf44f23e10a3c15 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 30 Jul 2010 22:54:55 -0400 Subject: [PATCH] Enhancement (related to #452) - A task is now considered overdue if it is past the due date, not due before today. --- src/recur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recur.cpp b/src/recur.cpp index d744f3d58..fc1adad6a 100644 --- a/src/recur.cpp +++ b/src/recur.cpp @@ -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)