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
Australia/Sydney changes its time on 2020-04-04 at 03:00:00, moving backward to 02:00:00
moment-timezone has an issue parsing a date from UTC to Australia/Sydney (with Boolean = true) on the day before Daylight Saving Time Ends:
From what I can tell, moment-timezone is first grabbing the UTC offset for the Australia/Sydney zone for the existing timestamp, then storing the inverted result as the internal offset calculation.
This works fine most of the time, but in the case you've found, it means Sydney's offset for 2021-04-03 16:00 UTC is being used (which is +10:00), instead of the correct offset for 2021-04-03 16:00 Sydney (which is +11:00).
Moment-timezone version which you use:
Version: 0.5.33
Issue description:
Australia/Sydney changes its time on
2020-04-04
at03:00:00
, moving backward to02:00:00
moment-timezone has an issue parsing a date from
UTC
toAustralia/Sydney
(withBoolean = true
) on the day before Daylight Saving Time Ends:But:
The text was updated successfully, but these errors were encountered: