Hi Philippe

I think the reason it happens at 23h00 local time might be because that's when 
the corresponding UTC time flips into the next day.

Best wishes

Jeremy

--
Jeremy Ruston


> On 13 Nov 2016, at 09:08, Philippe Le Toquin <[email protected]> wrote:
> 
> I can understand that Jeremy but what I find strange is that it happens every 
> night. If it was on Sunday night I would agree that it is an unfortunate side 
> issue of using timezone but on a week day?
> 
> It doesn't annoy me more than that and I can live with it (there are bigger 
> issue with my coding!). I can definitely wait for a fix if/when it comes.
> 
>> On Sunday, 13 November 2016 09:03:11 UTC, Jeremy Ruston wrote:
>> Hi Philippe, Mark,
>> 
>> I suspect that the problem here may be related to TiddlyWiki’s unfortunate 
>> handling of timezones. Basically, all dates are stored in UTC time, which is 
>> then automatically adjusted by the prevailing timezone to local time when 
>> the tiddler is loaded.
>> 
>> https://github.com/Jermolene/TiddlyWiki5/issues/2061
>> 
>> Pending some sort of fix in the core, there may well be workarounds that you 
>> can use for the week generation (eg, a tiny custom JS macro to generate a 
>> corrected week number).
>> 
>> Best wishes
>> 
>> Jeremy
>> 
>>> On 13 Nov 2016, at 08:55, Philippe Le Toquin <[email protected]> wrote:
>>> 
>>> Glad to see it is not just me.
>>> 
>>> As for un-Thorly hours well that is the only time I have left to myself 
>>> once the kids are in bed. That and I like to find bugs at 23:00
>>> 
>>>> On Sunday, 13 November 2016 01:16:19 UTC, Mark S. wrote:
>>>> Since I never stay up until these un-Thorly hours, I played with my system 
>>>> clock, moving it to a time between 11pm and 12am. Sure enough, the week 
>>>> jumps to 46. This was on Firefox under Windows 7. I tested again with 
>>>> Chrome, and the same thing happened.
>>>> 
>>>> So it appears that is a real bug, and anyone can replicate it by setting 
>>>> their clock to some time between 11pm and 12am, creating a tiddler with 
>>>> <<now WW>>, and refreshing the tiddler.
>>>> 
>>>> Maybe some code warriors can wade in now ... 
>>>> 
>>>> Mark
>>>> 
>>>>> On Saturday, November 12, 2016 at 4:10:44 PM UTC-8, Philippe Le Toquin 
>>>>> wrote:
>>>>> It is now past midnight and we are back to week 45. Sorry no screenshot 
>>>>> as I don't know how to do it on a tablet
>>> 
>>> 
>>> -- 
>>> 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 post to this group, send email to [email protected].
>>> 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/40361e14-f750-4588-a2de-2a3fe878cca3%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
> 
> -- 
> 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 post to this group, send email to [email protected].
> 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/624725a7-6ea3-4481-8418-451f820cbba7%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
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/2E67531A-CBDE-42BF-BB76-9F5A9D748C87%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to