#780760 Filter "due.before" with relative dates stopped working

Package:
taskwarrior
Source:
task
Description:
feature-rich console based todo list manager
Submitter:
Yuri D'Elia
Date:
2026-09-13 05:55:05 UTC
Severity:
normal
#780760#5
Date:
2015-03-18 20:32:19 UTC
From:
To:
Starting with taskwarrior 2.4, the filter "due.before" doesn't seem to work
correctly with relative dates anymore.

$ task add due:7d test
Created task 1.
$ task list due.before:7d
No matches.
$ task list

ID Age D Due        Description Urg
 1 2s    2015-03-26 test        8.75

Using an absolute specifier instead works:

$ task list due.before:26th

ID Age D Due        Description Urg
 1 5s    2015-03-26 test        8.75


This looks like a regression.

#780760#14
Date:
2015-04-09 15:59:45 UTC
From:
To:
forwarded 780760 https://bug.tasktools.org/browse/TW-1594
tags 780760 + pending
thanks


Hi Yuri!

Thanks for your bug report and sorry for the delay…
Indeed I reproduce your problem, I just forwarded the issue on the taskwarrior
bug tracker (TW-1594), the problem is still present, even with the 2.4.2
version.

Thanks,

Seb

#780760#21
Date:
2026-09-13 05:53:34 UTC
From:
To:
Hi,

a long time ago you opened this bug against the taskwarrior Debian
package:

* Yuri D'Elia <wavexx@thregr.org> [2015-03-18 21:32]:

This was tracked upstream at:

https://github.com/GothenburgBitFactory/taskwarrior/issues/1620

and was marked closed with the workaround:

$ task list due.before:now+7d

Closing this bug accordingly.

Cheers Jochen