New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5 minute discrepancy between actual- and displayed UTC offset for moments before "1940-05-15T23:40:00Z" in CET/CEST #5534
Comments
I have a related issue, any idea about it? |
@ederius, as can be learned from this issue's creation date it has not managed to attract a great deal of attention since its inception... I have no idea how to proceed. |
My issue is easy to reproduce, try with this: |
@ederius, sorry no, I haven't got a clue. Like you, I'm hoping the good people at That being said... Maybe this will help to provide some insight: https://www.timeanddate.com/time/map/ Select the city that refers to your timezone, then on the resulting page, select the "Time Zone" menu item, and then in the "Time zone changes for:" dropdown, select the range that includes the year of your interest. Does that list information about any UTC offset changes in that period? Does it match what you experience in |
Does this happen on the native Date() object too? |
My system's timezone is
CET/CEST
which explains the +02:00 UTC offset of:According to https://www.timeanddate.com/time/change/netherlands/amsterdam?year=1940, on Thursday, 16 May, 00:00 1940 (local time), the UTC offset in that timezone was changed by
+01:40
, which afaict should mean that moments before1940-05-15T23:40:00Z
, like for instance1940-05-15T23:39:59Z
should display a+00:20
offset.... however:Would have me to believe that the UTC offset now is
+00:15
, yet the23:59
time demonstrates the+00:20
offset that was expected... (23:59 - 00:20 = 23:39 - the UTC time of the argument tomoment(...)
above)The above has been observed regardless of Javascript environment tried: NodeJS
10.16.3
, Chrome77.0.3865.120
and FireFox69.0.3
.The text was updated successfully, but these errors were encountered: