mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-01 11:20:19 +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");
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ int CmdShow::execute (std::string& output)
|
|||
" dateformat"
|
||||
" dateformat.annotation"
|
||||
" dateformat.holiday"
|
||||
" dateformat.info"
|
||||
" dateformat.report"
|
||||
" debug"
|
||||
" default.command"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue