ColTypeDate: Fixed countdown format only showing values in the past

This commit is contained in:
Paul Beckingham 2016-05-08 16:37:19 -04:00
parent f29583d81d
commit 038126d59c

View file

@ -94,7 +94,6 @@ void ColumnTypeDate::measure (Task& task, unsigned int& minimum, unsigned int& m
else if (_style == "countdown")
{
ISO8601d now;
if (now > date)
minimum = maximum = ISO8601p (now - date).formatVague ().length ();
}
else if (_style == "julian")
@ -167,7 +166,6 @@ void ColumnTypeDate::render (
else if (_style == "countdown")
{
ISO8601d now;
if (now > date)
renderStringRight (lines, width, color, ISO8601p (now - date).formatVague ());
}
else if (_style == "julian")