Recurrence: Broke out handleUntil as a separate function

- This means until porocesing is no longer controlled by rc.recurrence, which
  was never intended.
This commit is contained in:
Paul Beckingham
2017-04-06 00:29:20 -04:00
parent e991004c43
commit 97b038ce29
14 changed files with 40 additions and 12 deletions

View File

@@ -927,6 +927,7 @@ int CmdBurndownMonthly::execute (std::string& output)
int rc = 0;
// Scan the pending tasks, applying any filter.
handleUntil ();
handleRecurrence ();
Filter filter;
std::vector <Task> filtered;
@@ -962,6 +963,7 @@ int CmdBurndownWeekly::execute (std::string& output)
int rc = 0;
// Scan the pending tasks, applying any filter.
handleUntil ();
handleRecurrence ();
Filter filter;
std::vector <Task> filtered;
@@ -997,6 +999,7 @@ int CmdBurndownDaily::execute (std::string& output)
int rc = 0;
// Scan the pending tasks, applying any filter.
handleUntil ();
handleRecurrence ();
Filter filter;
std::vector <Task> filtered;