I'll try the offset, thanks. I'd be happy with a string match on 
"20210302*", too though, as that's always the day I'm looking for. Half the 
reason I got out of development was to avoid dealing with timezones :)

On Tuesday, March 2, 2021 at 1:18:08 PM UTC-5 Mark S. wrote:

> If you add your offset to the time, then I think you'll get the results 
> you want. That is, if you're in Lima (utc -5), you might use
>
> sameday:created[2021030205]
>
> If you live in the other direction, then the math is harder. If you live 
> in Yekaterinburg (utc +5), then I assume you would have to use:
>
> sameday:created[2021030119]
>
> It would be really great if there was a "local" suffix so you could 
> specify the local time, which is going to make the most sense to anyone 
> living far from the international date line. But I think that the idea was 
> that you would be saying "sameday" as this other tiddler, which will have 
> the appropriate comparison date stamp.
>
> On Tuesday, March 2, 2021 at 9:11:31 AM UTC-8 ja...@baty.net wrote:
>
>> I'm guessing this is related to timezone/display issues I've seen 
>> mentioned elsewhere, but there's something I don't understand about the 
>> `sameday` operator.
>>
>> Here's the filter I'm working on:
>>
>> ```
>> <$list filter="[sameday:created[20210302]!is[system]!tag[Journal]]" >
>> {{||$:/core/ui/ViewTemplate/body}}
>> </$list>
>> ```
>>
>> I would expect to see tiddlers I created on 2021-03-02 but I only see 
>> those I created on 2021-03-01.
>>
>> I'm trying to create a "daily" tiddler that simply transcludes the body 
>> of all other tiddlers I created that same day. I can cheat and use 
>> *tomorrow's* date in the filter but that feels fragile and that one day 
>> TiddlyWiki's date handling will change and they'll all show the wrong 
>> tiddlers.
>>
>> Related, is there a way to substitute the created date of the parent 
>> tiddler rather than hardcode it? Be nice to not need to have to manually 
>> enter the date each time.
>>
>> Thanks.
>>
>> Jack
>>
>>

-- 
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/25d597c2-49a0-4e39-a421-77ba2f8a457fn%40googlegroups.com.

Reply via email to