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
With different local timezone, Dayjs.diff produce different results even if timezone explicitly set.
Probably it just doesn't take timezone into account while calculation day boundaries.
I found this during development node.js application, but think that this could be reproduced in browser as well (but it's not easy to change a browser timezone on the fly)
Describe the bug
The test case
Than run node.js with TZ environment var:
With different local timezone, Dayjs.diff produce different results even if timezone explicitly set.
Probably it just doesn't take timezone into account while calculation day boundaries.
I found this during development node.js application, but think that this could be reproduced in browser as well (but it's not easy to change a browser timezone on the fly)
possible related #1212
Expected behaviour
The results should be consistent and not depend on local timezone.
Information
The text was updated successfully, but these errors were encountered: