mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ColUDA
- Converted from OldDuration to Duration.
This commit is contained in:
parent
9412f685dd
commit
ea2efe4c93
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@
|
|||
|
||||
#include <cmake.h>
|
||||
#include <Context.h>
|
||||
#include <OldDuration.h>
|
||||
#include <Duration.h>
|
||||
#include <Date.h>
|
||||
#include <ColUDA.h>
|
||||
#include <text.h>
|
||||
|
@ -103,7 +103,7 @@ void ColumnUDA::measure (Task& task, unsigned int& minimum, unsigned int& maximu
|
|||
}
|
||||
else if (_type == "duration")
|
||||
{
|
||||
minimum = maximum = utf8_width (OldDuration (value).formatCompact ());
|
||||
minimum = maximum = utf8_width (Duration (value).formatCompact ());
|
||||
}
|
||||
else if (_type == "string")
|
||||
{
|
||||
|
@ -156,7 +156,7 @@ void ColumnUDA::render (
|
|||
lines.push_back (
|
||||
color.colorize (
|
||||
rightJustify (
|
||||
OldDuration (value).formatCompact (),
|
||||
Duration (value).formatCompact (),
|
||||
width)));
|
||||
}
|
||||
else if (_type == "string")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue