mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement
- Clarify the dateformat related variables for 'task information'.
This commit is contained in:
parent
84e1d0e7d2
commit
ba992a631e
7 changed files with 20 additions and 21 deletions
|
@ -76,12 +76,9 @@ int CmdInfo::execute (std::string& output)
|
|||
undo = context.tdb2.undo.get_lines ();
|
||||
|
||||
// Determine the output date format, which uses a hierarchy of definitions.
|
||||
// rc.report.<report>.dateformat
|
||||
// rc.dateformat.report
|
||||
// rc.dateformat.
|
||||
std::string dateformat = context.config.get ("report.info.dateformat");
|
||||
if (dateformat == "")
|
||||
dateformat = context.config.get ("dateformat.report");
|
||||
// rc.dateformat.info
|
||||
// rc.dateformat
|
||||
std::string dateformat = context.config.get ("dateformat.info");
|
||||
if (dateformat == "")
|
||||
dateformat = context.config.get ("dateformat");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue