mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Fixed rendering of countdown columns
Countdown columns were counting up days instead of down.
This commit is contained in:
parent
69b34dcef3
commit
90bc7f4b23
3 changed files with 5 additions and 3 deletions
|
@ -161,7 +161,7 @@ void ColumnTypeDate::render (
|
|||
else if (_style == "countdown")
|
||||
{
|
||||
Datetime now;
|
||||
renderStringRight (lines, width, color, Duration (now - date).formatVague (true));
|
||||
renderStringRight (lines, width, color, Duration (date - now).formatVague (true));
|
||||
}
|
||||
else if (_style == "julian")
|
||||
renderStringRight (lines, width, color, format (date.toJulian (), 13, 12));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue