I'm trying to store a list of tiddlers that has a "months" value.  The only 
relation this number has to built-in tiddlywiki date/time handling is in 
deciding which tiddlers to include, and I already know how to get the 
current date.  It is not related in any way to the creation/modification 
date of the tiddler, so any built-in date stuff in TiddlyWiki will not 
work.  For the same reason, the reveal widget is useless in this case.

I'm trying to get a filter operator that can compare numbers in a greater 
than/less than fashion.  Using the prefix method requires a degree of 
specificity I cannot provide in this case, so the prefix method is also 
useless.

To be specific, *I am looking for a filter operator that can help me store 
a list of tiddlers whose months value is less than a specified value*.

On Tuesday, March 3, 2020 at 5:38:49 PM UTC-6, TonyM wrote:
>
> David,
>
> There are always so many ways to ask the same question
>
> `[!prefix[2020]]`
>
> <$list filter="tag[blah]get[date-field]!prefix[2020]]">
>
> </$list>
>
> When you say compare numbers is a string comparison enough?
>
> Recent improvements to tiddlywiki has introduced simple maths and 
> additional string operators that make what you ask possible.
>
> Traditionally the comparison less than and greater than is done with the 
> reveal 
> widget <https://tiddlywiki.com/#RevealWidget>
>
> Regards
> Tony
>
> On Tuesday, March 3, 2020 at 11:51:47 PM UTC+11, David Allen wrote:
>>
>> Looking for a filter operator that will let me compare numbers in fields.
>>
>> <$list filter="[tag[blah]has[year](somehow)year<19]">
>>
>> </$list>
>>
>> Just kind of as an example
>>
>

-- 
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/e39bc841-af7f-48c9-a2ac-92bf7de0e575%40googlegroups.com.

Reply via email to