ISO8601: Converted various calls of ::format to ::formatVague

This commit is contained in:
Paul Beckingham 2015-08-12 21:35:09 -04:00
parent 35b52c421b
commit 995de68c90
5 changed files with 14 additions and 22 deletions

View file

@ -229,7 +229,7 @@ int CmdInfo::execute (std::string& output)
if (created.length ())
{
Date dt (strtol (created.c_str (), NULL, 10));
age = ISO8601p (now - dt).format ();
age = ISO8601p (now - dt).formatVague ();
}
view.set (row, 1, entry + " (" + age + ")");
@ -289,7 +289,7 @@ int CmdInfo::execute (std::string& output)
view.set (row, 0, STRING_CMD_INFO_MODIFIED);
Date mod (task.get_date ("modified"));
std::string age = ISO8601p (now - mod).format ();
std::string age = ISO8601p (now - mod).formatVague ();
view.set (row, 1, mod.toString (dateformat) + " (" + age + ")");
}