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
I want to report about an issue connected with date-fns-tz utcToZonedTime function. Whenever I pass time which is between 00:00 to 01:00 and give a timezoneId it formats with next day date. For example when I pass utcToZonedTime(1581398100000, 'America/New_York') (1581398100000 as utc string "Tue Feb 11 2020 05:15:00") the result is "Wed Feb 12 2020 00:15:00 GMT-0500 (Eastern Standard Time)" which is wrong it should be "Wed Feb 11 2020 00:15:00 GMT-0500 (Eastern Standard Time)". I found out that this is happening on chrome Version 80.0.3987.87 (64-bit)
The text was updated successfully, but these errors were encountered:
I want to report about an issue connected with date-fns-tz utcToZonedTime function. Whenever I pass time which is between 00:00 to 01:00 and give a timezoneId it formats with next day date. For example when I pass utcToZonedTime(1581398100000, 'America/New_York') (1581398100000 as utc string "Tue Feb 11 2020 05:15:00") the result is "Wed Feb 12 2020 00:15:00 GMT-0500 (Eastern Standard Time)" which is wrong it should be "Wed Feb 11 2020 00:15:00 GMT-0500 (Eastern Standard Time)". I found out that this is happening on chrome Version 80.0.3987.87 (64-bit)
The text was updated successfully, but these errors were encountered: