mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 17:07:19 +02:00
Bug TW-1274
- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
This commit is contained in:
parent
14b1ba4151
commit
61a9703ab4
4 changed files with 36 additions and 11 deletions
|
@ -289,10 +289,8 @@ int CmdInfo::execute (std::string& output)
|
|||
view.set (row, 0, STRING_CMD_INFO_MODIFIED);
|
||||
|
||||
Date mod (task->get_date ("modified"));
|
||||
|
||||
std::string age = OldDuration (now - mod).format ();
|
||||
view.set (row, 1, Date (task->get_date ("modified")).toString (dateformat) +
|
||||
" (" + age + ")");
|
||||
view.set (row, 1, mod.toString (dateformat) + " (" + age + ")");
|
||||
}
|
||||
|
||||
// tags ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue