Sorry,
\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>
Regards
FrD
Le samedi 28 juillet 2018 20:37:05 UTC+2, FrD a écrit :
>
> Hi,
>
> This seems to work, although there may be a simpler solution :
>
> \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>
>
>
>
> Regards
>
> FrD
>
> Le samedi 28 juillet 2018 18:46:22 UTC+2, JWHoneycutt a écrit :
>>
>> 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
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1233152d-2280-4b62-b24c-54f9405f7a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.