mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 15:20:36 +02:00
Code Cleanup
- Eliminated redundant getDueDate helper function.
This commit is contained in:
parent
0f4bcefcff
commit
facb795f88
5 changed files with 17 additions and 18 deletions
|
@ -219,7 +219,8 @@ int CmdInfo::execute (std::string& output)
|
|||
if (format == "")
|
||||
format = context.config.get ("dateformat");
|
||||
|
||||
view.set (row, 1, getDueDate (*task, format));
|
||||
Date dt (task->get_date ("due"));
|
||||
view.set (row, 1, dt.toString (context.config.get ("dateformat")));
|
||||
}
|
||||
|
||||
// wait
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue