Bug
- Fencepost error in colorization.
This commit is contained in:
@@ -145,7 +145,7 @@ static void colorizeScheduled (Task& task, const std::string& rule, Color& c)
|
|||||||
{
|
{
|
||||||
if (gsColor[rule].nontrivial () &&
|
if (gsColor[rule].nontrivial () &&
|
||||||
task.has ("scheduled") &&
|
task.has ("scheduled") &&
|
||||||
Date (task.get_date ("scheduled")) < now)
|
Date (task.get_date ("scheduled")) <= now)
|
||||||
c.blend (gsColor[rule]);
|
c.blend (gsColor[rule]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user