-
-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The exported date is 43 seconds longer #2350
Comments
This article(language:Chinese) explained the issue. https://zhuanlan.zhihu.com/p/89914219 The time difference between a time zone and a zero time zone is different in various historical periods. @SheetJSDev Lines 34 to 51 in 333deae
So every Maybe we can use RelatedUpdateI use an extra offset to fix this bug.
|
The date bug is well known, #1918 (comment) was a comment from last year. Closing as dupe of #1565 |
Test code:
But the Excel view result is:
My PC timezone is UTC+8.
Maybe this code can help you find the bug:
For the date
1899-12-30 00:00:00
, methodgetTimezoneOffset
returns 43 seconds less.The text was updated successfully, but these errors were encountered: