From 3563aa84140d4fffa4e30603a214c4b2e03a85aa Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 12 Aug 2015 11:29:33 -0400 Subject: [PATCH] ColUDA: Duration replaced by ISO8601p --- src/columns/ColUDA.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/columns/ColUDA.cpp b/src/columns/ColUDA.cpp index 3043a8b67..05ab86429 100644 --- a/src/columns/ColUDA.cpp +++ b/src/columns/ColUDA.cpp @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include #include @@ -100,7 +100,7 @@ void ColumnUDA::measure (Task& task, unsigned int& minimum, unsigned int& maximu } else if (_type == "duration") { - minimum = maximum = utf8_width (Duration (value).formatISO ()); + minimum = maximum = utf8_width (ISO8601p (value).format ()); } else if (_type == "string") { @@ -161,7 +161,7 @@ void ColumnUDA::render ( lines.push_back ( color.colorize ( rightJustify ( - Duration (value).formatISO (), + ISO8601p (value).format (), width))); } else if (_type == "string")