mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
CmdCalendar
- fix for failing unit tests as calendar args are treated special
This commit is contained in:
parent
9ada2f554a
commit
cf9b5ca5c6
1 changed files with 3 additions and 0 deletions
|
@ -342,6 +342,9 @@ int CmdCalendar::execute (std::string& output)
|
||||||
std::string report = context.config.get ("calendar.details.report");
|
std::string report = context.config.get ("calendar.details.report");
|
||||||
std::string report_filter = context.config.get ("report." + report + ".filter");
|
std::string report_filter = context.config.get ("report." + report + ".filter");
|
||||||
|
|
||||||
|
context.a3.clear ();
|
||||||
|
context.a3.push_back (Arg ("task", Arg::cat_program));
|
||||||
|
|
||||||
report_filter += " due.after:" + after + " due.before:" + before;
|
report_filter += " due.after:" + after + " due.before:" + before;
|
||||||
context.config.set ("report." + report + ".filter", report_filter);
|
context.config.set ("report." + report + ".filter", report_filter);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue