ColTypeDate: Fix countdown style width
This commit is contained in:
committed by
Tomas Babej
parent
c3bb3810be
commit
27f3e95f12
@@ -89,7 +89,7 @@ void ColumnTypeDate::measure (Task& task, unsigned int& minimum, unsigned int& m
|
|||||||
else if (_style == "countdown")
|
else if (_style == "countdown")
|
||||||
{
|
{
|
||||||
Datetime now;
|
Datetime now;
|
||||||
minimum = maximum = Duration (now - date).formatVague (true).length ();
|
minimum = maximum = Duration (date - now).formatVague (true).length ();
|
||||||
}
|
}
|
||||||
else if (_style == "julian")
|
else if (_style == "julian")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user