That worked, though I needed to add a list to make sure the count wasn't 
zero.

On Wednesday, March 4, 2020 at 12:01:40 AM UTC-6, Mat wrote:
>
> Comparison operators is/has been discussed 
> <https://github.com/Jermolene/TiddlyWiki5/pull/2968>. Contribute or 
> merely express liking to it.
>
> For now, this more cumbersome approach might work:
>
> <$set name=amount
>       filter="[tag[mytag]get[modified]]
>               20180403221852352
>               +[sort[]allbefore[20180403221852352]count[]]">
> <$list filter="[tag[mytag]sort[modified]first<amount>]" >
>
> </$list>
> </$set>
>
> So, the idea is to extract all modified dates from the relevant tids. Then 
> add your magic cutoff date. Sort them and cut the sorted list before your 
> magic date. Count how many.
> Then sort all relevant tids by modified date and cut out as many as was 
> counted before.
>
> ...yeah, would be simpler with "less than"...
>
> <:-)
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68cacef3-eafc-4f81-8a7d-eb5c464fd592%40googlegroups.com.

Reply via email to