Bug TW-1274

- TW-1274 Map 'modification' attribute to 'modified' (thanks to jck).
This commit is contained in:
Paul Beckingham 2014-02-22 11:57:21 -05:00
parent 14b1ba4151
commit 61a9703ab4
4 changed files with 36 additions and 11 deletions

View file

@ -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 ...