mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ISO8601: Converted various calls of ::format to ::formatVague
This commit is contained in:
parent
35b52c421b
commit
995de68c90
5 changed files with 14 additions and 22 deletions
|
@ -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 + ")");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue