Hi,

If you do not want to upgrade to 5.1.20 yet, you may use those operators I 
made for my own needs (generating year / month grouped lists of tiddlers - 
"Creation date index attachment") : EachYear/Month and SameYear/Month are 
inspired form EachDay and SameDay (see 
https://tiddlywiki.com/#eachday%20Operator and 
https://tiddlywiki.com/#sameday%20Operator)

best regards,

Sylvain
@sycom

Le lundi 12 août 2019 12:35:29 UTC+2, BurningTreeC a écrit :
>
>
>> Hello,
>>>
>>> Basically I am trying to have something I can look at to see tiddlers 
>>> from previous years that have the same month and day as today. For example, 
>>> I could look and see all Tiddlers created on 11 August, from 2018, 2017, 
>>> etc. 
>>>
>>> I've been trying to get it to work, but I'm not having any luck.
>>>
>>> Any suggestions?
>>>
>>
>> Hi Josh, this might work:
>>
>> <$set name="todayMonthDay" value=<<now 0MM0DD>>>
>> <$list filter="[all[tiddlers]]" variable="tiddler">
>> <$set name="monthDay" value={{{ 
>> [<tiddler>get[created]split[]last[13]first[4]join[]] 
>> }}}>
>> <$list filter="[<monthDay>match<todayMonthDay>]">
>>
>> <<tiddler>>
>>
>> </$list>
>> </$set>
>> </$list>
>> </$set>
>>
>>
> I need to say that this uses the new "match", "split" and "join" operators 
> from the latest 5.1.20 release
>
> cheers, btc
>  
>
>>
>>> Cheers,
>>> Josh
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55748569-c2b6-4222-93b2-638f88af98a9%40googlegroups.com.

Attachment: $__ext_modules_macros_sameyear.js.tid
Description: Binary data

Attachment: $__ext_modules_macros_samemonth.js.tid
Description: Binary data

Attachment: $__ext_modules_macros_eachyear.js.tid
Description: Binary data

Attachment: $__ext_modules_macros_eachmonth.js.tid
Description: Binary data

Attachment: Creation date index.tid
Description: Binary data

Reply via email to