mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-07-02 02:03:14 +00:00
21 lines
889 B
Plaintext
21 lines
889 B
Plaintext
created: 20140410103123179
|
|
modified: 20150124214554000
|
|
tags: [[Filter Operators]] [[Group Operators]] [[Date Operators]]
|
|
title: eachday Operator
|
|
type: text/vnd.tiddlywiki
|
|
caption: eachday
|
|
purpose: select one of each group of input titles by date
|
|
|
|
<$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>>"
|
|
/>
|
|
|
|
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 set.
|
|
|
|
If a tiddler doesn't contain field <<.place f>>, it contributes nothing to the output.
|
|
|
|
<<.operator-examples "eachday">>
|