From 22c5bc28e19d0a5f2df2ab36e376411742d34603 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 25 Apr 2014 22:32:49 -0700 Subject: [PATCH] CmdCalendar - Converted from A3 to A3t. --- src/commands/CmdCalendar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdCalendar.cpp b/src/commands/CmdCalendar.cpp index 783910cc3..3284cf5a0 100644 --- a/src/commands/CmdCalendar.cpp +++ b/src/commands/CmdCalendar.cpp @@ -338,8 +338,9 @@ int CmdCalendar::execute (std::string& output) std::string report_filter = context.config.get ("report." + report + ".filter"); - context.a3.clear (); - context.a3.push_back (Arg ("task", Arg::cat_program)); + context.a3t.clear (); + context.a3t.captureFirst ("task"); + context.a3t.parse (); report_filter += " due.after:" + after + " due.before:" + before + " -nocal"; context.config.set ("report." + report + ".filter", report_filter);