1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-03 18:53:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/days.tid
nameanyone 19ee5bcf4e "days" filter: yesterday and tomorrow edge cases (#2364)
* Change the negation logic to address an edge case

Make it possible to get an interval ending with yesterday or starting with tomorrow.

* "days" filter: adjust documentation
2016-04-27 17:23:46 +01:00

17 lines
936 B
Plaintext

tags: [[Filter Operators]] [[Date Operators]] [[Negatable Operators]]
title: days Operator
type: text/vnd.tiddlywiki
caption: days
op-input: a [[selection of titles|Title Selection]]
op-neg-output: those input tiddlers in which field <<.place F>> is at least <<.place D>> days in the { future | past }, where <<.place D>> is { positive | negative }
op-output: those input tiddlers in which field <<.place F>> is <<.place D>> days in the { future | past } or any time { before | after } that, including { past | future }, where <<.place D>> is { positive | negative }
op-parameter: a number of days, defaulting to 0
op-parameter-name: D
op-purpose: filter the input by date
op-suffix: the name of a [[date field|Date Fields]], defaulting to <<.field modified>>
op-suffix-name: F
Select tiddlers where a specified date field (default "modified") is withing a specified date range. Time portion is ignored.
<<.operator-examples "days">>