Skip to content
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

there is in issue in xlsx export Date, automatically add 21 seconds to the dateTime see the demo (https://sheetjs.com/demo/writexlsx.html) #2152

Closed
hamdiChehdi opened this issue Oct 23, 2020 · 4 comments

Comments

@hamdiChehdi
Copy link

No description provided.

@hamdiChehdi hamdiChehdi changed the title there is in issue in xlsx export Date, automatically add 21 seconds to the dateTime there is in issue in xlsx export Date, automatically add 21 seconds to the dateTime see the demo (https://sheetjs.com/demo/writexlsx.html) Oct 23, 2020
@hamdiChehdi
Copy link
Author

https://sheetjs.com/demo/writexlsx.html
it add 21 to the date 19/02/2014 15:30:21

@reviewher
Copy link
Contributor

What is your current computer timezone? If you are using a modern browser, you can run new Intl.DateTimeFormat().resolvedOptions().timeZone in the console

@ferjul17
Copy link

Hi, I have the same issue. In case it can help, my timezone is Europe/Paris.

@SheetJSDev
Copy link
Contributor

SheetJS Dates are anchored to Excel's 1900 epoch.

Europe/Paris was UTF +00:09:21 in 1900. It shifted to UTC +00:00:00 in 1911.

Closing in favor of #1565

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants