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
Describe the bug
There seems to be an extra hour being added when setting timezones:
dayjs.utc('2021-01-01').toString()// 'Fri, 01 Jan 2021 00:00:00 GMT'dayjs.utc('2021-01-01').tz('America/Chicago').toString()// 'Fri, 01 Jan 2021 01:00:00 GMT'dayjs.utc('2021-01-01').tz('America/Chicago',false).toString()// 'Fri, 01 Jan 2021 01:00:00 GMT'dayjs.utc('2021-01-01').tz('America/Chicago',true).toString()// 'Fri, 01 Jan 2021 07:00:00 GMT' should be 06
Seems to be related to daylight savings time, as it only appears half the year:
Describe the bug
There seems to be an extra hour being added when setting timezones:
Seems to be related to daylight savings time, as it only appears half the year:
Expected behavior
That it works like momentjs:
Information
day.js.org
]The text was updated successfully, but these errors were encountered: