mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-21 07:43:08 +02:00
Filter
- Diagnostics for filter eval were not enabled properly. Now rc.debug.parser=2 will show all filter eval diagnostics.
This commit is contained in:
parent
85518c646f
commit
d5c937ba8c
3 changed files with 8 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue