Expressions

- Eliminated the . prefix for DOM references to the current task - it is
  unnatural to state ".due < today".
- Prioritized parsing dates ahead of integers, which were masking all
  dates.
This commit is contained in:
Paul Beckingham
2011-07-19 00:25:26 -04:00
parent e564827be7
commit 09d94a0712
7 changed files with 27 additions and 25 deletions

View File

@@ -56,7 +56,7 @@ int CmdAdd::execute (std::string& output)
task.set ("uuid", uuid ());
// Apply the command line modifications to the new task.
Arguments modifications = context.args.extract_modifications ();
Arguments modifications = context.args.extract_modifications (true);
modify_task_description_replace (task, modifications);
apply_defaults (task);