Events during a DST changeover are shortenend/extended by one hour
See original GitHub issueExample at https://jsfiddle.net/ocucLm98/
When timezone
is set to “local” and the system timezone is “Europe/London”, events taking place during the DST changeover seem to be hidden.
In the example we have an event on October 29th (when time goes back one hour at 2am local time) from 00:00 UTC to 01:00 UTC, which translates locally from 01:00 BST to 01:00 GMT.
When timezone
is set to “Europe/London” it places the event between 00:00 and 01:00. The beginning is an hour early, the end would be correct in this case. Could it be that using “local” takes additionally Date.getTimezoneOffset()
into account and that skews the period?
Issue Analytics
- State:
- Created 6 years ago
- Comments:30 (11 by maintainers)
Top Results From Across the Web
How Does Daylight Saving Time Work? - Time and Date
DST is a seasonal time change measure where clocks are set ahead of standard ... This means that one hour is skipped, and...
Read more >Daylight Saving Time 2022: When Does the Time Change?
Adjust your clocks Saturday night! Daylight Saving Time ends on Sunday, November 6, 2022, at 2:00 A.M. At this time, we “fall back”...
Read more >What happens when the time changes for DST in the Spring ...
Events that are scheduled during the fall-back transition period (1:00 a.m. to 2:00 a.m. time period on the day fall back occurs) will...
Read more >Daylight Saving Time Rules | NIST
The rules increased the duration of DST by about one month. ... We advance our clocks ahead one hour at the beginning of...
Read more >Important note on Daylight Savings Time
Typically, clocks are set one hour ahead during the spring, and then back again ... When the DST changeover occurs in spring the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@arshaw @acerix, no comment?
So google calendar fails horribly. I tested the gaining an hour scenario. And the UX just displays 24hours only… thus an event from 12:30 -> 1:30 EDT and 12:30 -> 1:30 EST look identical (for the gaining an hour scenario)
Their editing UI does not allow you at all to pick 1:30 EST (the extra hour). So I had to use a different program to create these events… Which was Calendar on OS X.
in OS X the UX visually is the same you can’t tell the difference from looking at it.
incorrect labels in the popover
but when editing they allow you to “sort of” set the other 1:30a, however it doesn’t appear to stick. 😦
So all varying degrees of “gee we never thought about it” even though a good half the world does DST.