2014-04-10 18:56:51 +00:00
created: 20140410103123179
2015-01-27 20:38:30 +00:00
modified: 20150127202806000
2015-01-24 21:18:44 +00:00
tags: [[Filter Operators]] [[Group Operators]] [[Date Operators]]
2015-01-18 18:39:00 +00:00
title: eachday Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
2015-01-18 18:39:00 +00:00
caption: eachday
2015-01-24 21:18:44 +00:00
purpose: select one of each group of input titles by date
2014-04-10 18:56:51 +00:00
2015-01-18 18:39:00 +00:00
<$macrocall $name=".operator-def"
2015-01-24 21:18:44 +00:00
input="a [[selection of titles|Title Selection]]"
2015-01-24 21:53:28 +00:00
parameter="the name of a [[date field|Date Fields]]"
2015-01-18 18:39:00 +00:00
paramName="f"
2015-01-24 21:18:44 +00:00
output="a selection containing the first input title encountered for each distinct value (ignoring times of day) of field <<.place f>>"
2015-01-18 18:39:00 +00:00
/>
2014-04-10 18:56:51 +00:00
2015-01-27 20:38:30 +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.
2015-01-24 21:18:44 +00:00
If a tiddler doesn't contain field <<.place f>>, it contributes nothing to the output.
2014-04-10 18:56:51 +00:00
2015-01-18 18:39:00 +00:00
<<.operator-examples "eachday">>