mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
docs: Document TW #2536
This commit is contained in:
parent
ac3572a4f5
commit
3948484cf5
3 changed files with 29 additions and 0 deletions
|
@ -72,6 +72,9 @@
|
||||||
Thanks to Pablo Vizcay.
|
Thanks to Pablo Vizcay.
|
||||||
- TW #2530 Taskwarrior 2.5.3 time based filtering regression
|
- TW #2530 Taskwarrior 2.5.3 time based filtering regression
|
||||||
Thanks to Matthias Tafelmeier.
|
Thanks to Matthias Tafelmeier.
|
||||||
|
- TW #2536 Feature: inclusive range-end attribute modifier 'by' so 'end of'
|
||||||
|
named dates can be filtered inclusively
|
||||||
|
Thanks to Scott Mcdermott
|
||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
|
|
5
NEWS
5
NEWS
|
@ -22,6 +22,11 @@ New Features in Taskwarrior 2.6.0
|
||||||
functionality.
|
functionality.
|
||||||
- The `task import` command can now accept annotations with missing entry
|
- The `task import` command can now accept annotations with missing entry
|
||||||
values. Current time will be assumed.
|
values. Current time will be assumed.
|
||||||
|
- The new 'by' filter attribute modifier compares using '<=' rather than '<'
|
||||||
|
as 'before' uses. This allows the last second of the day to match with
|
||||||
|
'due.by:eod', which it would not otherwise. It also works with
|
||||||
|
whole units like days, e.g. 'add test due:2021-07-17' would not match
|
||||||
|
'due.before:tomorrow' (on the 16th), but would match 'due.by:tomorrow'.
|
||||||
|
|
||||||
|
|
||||||
New Commands in Taskwarrior 2.6.0
|
New Commands in Taskwarrior 2.6.0
|
||||||
|
|
|
@ -55,6 +55,7 @@ More filter examples:
|
||||||
task <command> <mods>
|
task <command> <mods>
|
||||||
task 28 <command> <mods>
|
task 28 <command> <mods>
|
||||||
task +weekend <command> <mods>
|
task +weekend <command> <mods>
|
||||||
|
task +bills due.by:eom <command> <mods>
|
||||||
task project:Home due.before:today <command> <mods>
|
task project:Home due.before:today <command> <mods>
|
||||||
task ebeeab00-ccf8-464b-8b58-f7f2d606edfb <command> <mods>
|
task ebeeab00-ccf8-464b-8b58-f7f2d606edfb <command> <mods>
|
||||||
|
|
||||||
|
@ -819,6 +820,8 @@ Attribute modifiers improve filters. Supported modifiers are:
|
||||||
.br
|
.br
|
||||||
.B after (synonyms over, above)
|
.B after (synonyms over, above)
|
||||||
.br
|
.br
|
||||||
|
.B by
|
||||||
|
.br
|
||||||
.B none
|
.B none
|
||||||
.br
|
.br
|
||||||
.B any
|
.B any
|
||||||
|
@ -866,6 +869,24 @@ modifier is the inverse of the
|
||||||
.I before
|
.I before
|
||||||
modifier.
|
modifier.
|
||||||
|
|
||||||
|
The
|
||||||
|
.I by
|
||||||
|
modifier is the same as 'before', except it also includes the moment in
|
||||||
|
question. For example:
|
||||||
|
|
||||||
|
task add test due:eoy
|
||||||
|
|
||||||
|
will be found when using the inclusive filter 'by':
|
||||||
|
|
||||||
|
task due.by:eoy
|
||||||
|
|
||||||
|
but not when the non-inclusive filter 'before' is used:
|
||||||
|
|
||||||
|
task due.before:eoy
|
||||||
|
|
||||||
|
this applies equally to other named dates such as 'eom', 'eod', etc; the
|
||||||
|
modifier compares using '<=' rather than '<' like 'before' does.
|
||||||
|
|
||||||
The
|
The
|
||||||
.I none
|
.I none
|
||||||
modifier requires that the attribute does not have a value. For example:
|
modifier requires that the attribute does not have a value. For example:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue