List of tiddlers modified between dates

79 views
Skip to first unread message

Jon

unread,
May 17, 2021, 4:53:02 AM5/17/21
to TiddlyWiki
Hi,

I've got this to list tiddlers modified on this date:

<$list filter="[field:modified/^20210517/!is[system]]">

What do I need to give a list between two dates?

Thanks
Jon

PMario

unread,
May 17, 2021, 6:50:23 AM5/17/21
to TiddlyWiki
Hi Jon,
Where did you find this filter syntax?
-m

PMario

unread,
May 17, 2021, 7:05:01 AM5/17/21
to TiddlyWiki
Hi,
Try this

<$list filter="[all[tiddlers]!is[system]] :filter[get[modified]compare:string:gt[20210423]compare:string:lt[202105]]"><$link /><br></$list>

[all[tiddlers]!is[system]] ... gives you all tiddlers
:filter[ ... uses a subfilter run that is used to limit the results, but it will give back the titles instead of the modified field.
get[modified] ... reads the modified field
compare:string:gt[20210423] ... Will give _all_ tiddlers that have been created after April 23 this year
compare:string:lt[202105] ... Will give you all tiddlers that have been created befroe May this year.
] ... closes the :filter[

hope that helps
mario

PMario

unread,
May 17, 2021, 7:06:14 AM5/17/21
to TiddlyWiki

Saq Imtiaz

unread,
May 17, 2021, 7:14:19 AM5/17/21
to TiddlyWiki
Right, that is the deprecated regular express syntax that really should not be used.

Jon

unread,
May 17, 2021, 8:56:53 AM5/17/21
to TiddlyWiki
Hi Mario,

it would have been something I picked up from the site and incorporated - thanks for the solution & correction.

Regards
Jon

Reply all
Reply to author
Forward
0 new messages