Thank you for your responses, Mark and Tony.
 

> I think you're talking about using your own dates, in the short form e.g. 
> 20190216. Because you don't use all the digits of the time, TW pads the 
> number and assumes that it is 20190216000000000 or midnight GMT. Since  at 
> midnight GMT, it's still the 15th on days west of timezone GMT, the days 
> operator doesn't show it.
>

Yes, that's exactly what I was talking about.

A solution with yyyymmdd1200 or yyyymmdd9 might work in most cases but is 
not universal. The reason being, time zones stretch up to -12 hours from 
(behind) UTC if we move west of GMT (so an added offset of 1200 could work 
here), however the time zone farthest to the east of GMT has an offset of 
+14 hours, which could then shift the date once again, this time in the 
other direction (even part of New Zealand is +12:45 as per this Wikipedia 
article <https://en.wikipedia.org/wiki/Time_zone#List_of_UTC_offsets>; so, 
it's not just a case of scarcely populated islands).

Adding artificial offsets to dates has no 'safe margin' because the sum of 
all the time zone offsets appears to be 26 hours. Either way, there is 
going to be an inaccurate date interpretation by the days filter operator, 
whether that's 1 day behind or 1 day ahead.

Thanks,
Hubert


On Sunday, 17 February 2019 14:11:16 UTC-5, Mark S. wrote:
>
> Are we still talking about rolling our own dates?
>
> I think 12 would work almost everywhere (there might be some fringe cases).
>  
> Yes a single minute can make a difference for bills, taxes, assignments. 
> Which is why the deadline time is often at midnight, so there's a great 
> deal of overlap with actual waking hours. What annoys me is a certain 
> cloud-based service that resets subscriptions per a different timezone, 
> even though I'm in the same timezone as the corporate office. Apparently 
> wherever the server is located becomes the time standard.
>
> -- Mark
>
>
> On Saturday, February 16, 2019 at 10:32:01 PM UTC-8, TonyM wrote:
>>
>> Mark,
>>
>> I wonder if it makes sence setting a date only actualy to midday, 
>> yyyymmdd1200
>>
>> This possibly can be done within the date format. If its 00:04 do we 
>> realy think 5 mins ago was a day ago when a day implies 24 hours?
>>
>> Regards
>> Tony
>>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2d67ca88-d4db-45fc-8bae-cc5dcaed5b08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to