- Diagnostics for filter eval were not enabled properly. Now rc.debug.parser=2
  will show all filter eval diagnostics.
This commit is contained in:
Paul Beckingham 2014-11-22 13:48:28 -05:00
parent 85518c646f
commit d5c937ba8c
3 changed files with 8 additions and 4 deletions

View file

@ -242,7 +242,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value)
{
if (column->type () == "date")
value = Variant (task.get_date (canonical), Variant::type_date);
else if (column->type () == "duration")
else if (column->type () == "duration" || canonical == "recur")
value = Variant ((time_t) Duration (task.get (canonical)), Variant::type_duration);
else if (column->type () == "numeric")
value = Variant (task.get_float (canonical));