1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 09:13:16 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/eachday.tid

21 lines
885 B
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
modified: 20150127202806000
tags: [[Filter Operators]] [[Group Operators]] [[Date Operators]]
title: eachday Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
caption: eachday
purpose: select one of each group of input titles by date
2014-04-10 18:56:51 +00:00
<$macrocall $name=".operator-def"
input="a [[selection of titles|Title Selection]]"
parameter="the name of a [[date field|Date Fields]]"
paramName="f"
output="a selection containing the first input title encountered for each distinct value (ignoring times of day) of field <<.place f>>"
/>
2014-04-10 18:56:51 +00:00
Each input title is processed in turn. The value of field <<.place f>> in the corresponding tiddler is examined, and as long as this indicates a date that has not been encountered before, the title is appended to the output.
If a tiddler doesn't contain field <<.place f>>, it contributes nothing to the output.
2014-04-10 18:56:51 +00:00
<<.operator-examples "eachday">>