I want to transclude all the tiddlers that start with today's date. I suspect I am handling the variable incorrectly.
<$set name="today" value="<<now YYYY-0MM-0DD >>"/>
<!-- I want to set the variable "today" to the day's date in this specific format ie. 2018-07-28 -->
<$list filter="[prefix[$(today)$]]">
<$view field="title"/><br>
{{<<currentTiddler>>}}<br>
</$list>
<!-- I want to show title, then transclude contents, if the title starts with today's date -->
Can you help me debug this?
JWHoneycutt
\define day()
<$macrocall $name="now" format="YYYY-0MM-0DD"/>
\end
\define filter()
[prefix[$(today)$]]
\end
<$wikify name="today" text=<<day>>>
<$list filter=<<filter>>>
<$view field="title"/><br>
{{<<currentTiddler>>}}<br>
</$list>
</$wikify>\define day()
<$macrocall $name="now" format="YYYY-0MM-0DD"/>
\end
\define filter()
[prefix[$(today)$]]
\end
<$wikify name="today" text=<<day>>>
<$list filter=<<filter>>>
<$view field="title"/><br>
{{<<currentTiddler>>}}<br>
</$list>
</$wikify>I want to transclude all the tiddlers that start with today's date. I suspect I am handling the variable incorrectly.
Can you help me debug this?
<$set name="today" value=<<now YYYY-0MM-0DD>>>
<$list filter="[prefix<today>]">
<$view field="title"/><br>
<$transclude /><br>
</$list>
<$set>
Sameday[-7] will show dates with the sameday or 7 days earlier.
Tony
Also Rather than manual dates I tend to timestamp them with the full format<$action-setfield $field=$fieldname$ $value=<<now [UTC]YYYY0MM0DD0hh0mm0ssXXX>>/>
Tony
<$set name="today" value=<<now YYYY-0MM-0DD>>>
<$list filter="[prefix<today>]">'' <$view field="title"/><br>''<$transclude /><br><br></$list><$set>
"[!days:weekly-review[-7]]"
<$set name="today" value=<<now YYYY-0MM-0DD>>>
<$list filter="<today>[days:title[-1]]">'' <$view field="title"/><br>''<$transclude /><br><br></$list><$set>{{Due}}