You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Chrome 51 on Mac OS 10.11.4 I get the following result:
A. 1459015199000 Sun Mar 27 2016 01:59:59 GMT+0800
B. 1459015200000 Sun Mar 27 2016 03:00:00 GMT+0900
C. 1459018800000 Sun Mar 27 2016 04:00:00 GMT+0900
Since Asia/Chita moved from GMT+0800 to GMT+0900 the input arrays in both B. and C. must produce exactly the same result - Sun Mar 27 2016 03:00:00 GMT+0900 and timestamp 1459015200000.
However the date and timestamp in C. are different and wrong - 04:00:00 and 1459018800000
The text was updated successfully, but these errors were encountered:
dmitryshimkin
changed the title
Wrong timestamp for dates in transition moment between GMT+0800 and GMT+0900 in Asia/Chita
Wrong timestamp for dates in transition period between GMT+0800 and GMT+0900 in Asia/Chita
Jul 29, 2016
First thank you guys for the great job you're doing.
I am using moment.timezone v0.5.5 with 2016f tzdata.
The test case is:
In Chrome 51 on Mac OS 10.11.4 I get the following result:
Since Asia/Chita moved from GMT+0800 to GMT+0900 the input arrays in both B. and C. must produce exactly the same result - Sun Mar 27 2016 03:00:00 GMT+0900 and timestamp
1459015200000
.However the date and timestamp in C. are different and wrong -
04:00:00
and1459018800000
The text was updated successfully, but these errors were encountered: