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 ran into this at my company, where we have one app using luxon and one using dayjs. seems that luxon does not make this error. I noticed you posted this on Mar 10, which is close to DST in spring. DST is a week away now for fall on the 7th. 😅 ....
I wonder how many people are running into bugs like these around DST every year!
Describe the bug
if .utcOffset setter is called with the second param (keepLocalTime) set to true weird things start to happen:
Reproduction on dayjs website in chrome js console:
Expected behavior
The format and toString functions should return consistent results, being the same date, diff should return zero.
Information
The text was updated successfully, but these errors were encountered: