Duration
- Renamed Duration object to OldDuration so that the two implementations can coexist in a binary.
This commit is contained in:
@@ -102,7 +102,7 @@ void ColumnUDA::measure (Task& task, unsigned int& minimum, unsigned int& maximu
|
||||
}
|
||||
else if (_type == "duration")
|
||||
{
|
||||
minimum = maximum = utf8_width (Duration (value).formatCompact ());
|
||||
minimum = maximum = utf8_width (OldDuration (value).formatCompact ());
|
||||
}
|
||||
else if (_type == "string")
|
||||
{
|
||||
@@ -155,7 +155,7 @@ void ColumnUDA::render (
|
||||
lines.push_back (
|
||||
color.colorize (
|
||||
rightJustify (
|
||||
Duration (value).formatCompact (),
|
||||
OldDuration (value).formatCompact (),
|
||||
width)));
|
||||
}
|
||||
else if (_type == "string")
|
||||
|
||||
Reference in New Issue
Block a user