mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
CmdCalendar: Properly colorize overdue task from today
Even if task is due today, but the due time is in the past, it is considered overdue according to the implementation of Task::is_overdue method. Make coloring in the calendar output consistent.
This commit is contained in:
parent
bfae79eac7
commit
fbf8fe688e
1 changed files with 1 additions and 1 deletions
|
@ -582,11 +582,11 @@ std::string CmdCalendar::renderMonths (
|
|||
cellColor.blend (color_due);
|
||||
break;
|
||||
|
||||
case Task::dateEarlierToday:
|
||||
case Task::dateLaterToday:
|
||||
cellColor.blend (color_duetoday);
|
||||
break;
|
||||
|
||||
case Task::dateEarlierToday:
|
||||
case Task::dateBeforeToday:
|
||||
cellColor.blend (color_overdue);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue