Open alexmichailichenko opened 2 years ago
I'm not 100% sure, but it seems dayjs
is using Intl. Intl
in browsers relys on system time. Can you please check if OS timezone is correct?
Related artile: https://www.ghacks.net/2022/09/07/windows-users-in-chile-could-run-into-issues-because-of-daylight-savings-time/
Describe the bug Seems like dayjs doesn't take into account that Chile's 2022 DST start is delayed from September 2 to September 11 (Internal Affairs Ministry of Chile informed the DST for America/Santiago to start at midnight on September 11 due to the vote on the new Constitution).
Expected behavior Should return a string with the time
09:00
, but returns2022-09-10T10:00:00-03:00
for2022-09-10T13:00:00.000Z
Information
Time zone: America/Santiago
https://github.com/tzinfo/tzinfo-data/issues/22