We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to format a really old date with timezone I get an incorrect offset with decimals.
const UTC = -24298794732001; console.log( format(UTC, "yyyy-MM-dd'T'HH:mm:ss.SSSxxx", { timeZone: "Europe/Stockholm" }) );
This is what I get and want it should be:
1200-01-01T23:59:59.999+01:12.200000000000003 ^ This should be: 1200-01-01T23:59:59.999+01:12
Here is a Codesandbox with the issue: https://codesandbox.io/s/pensive-babbage-3lnzts?file=/src/index.js
Does anyone have a solution for this?
The text was updated successfully, but these errors were encountered:
Fixed in #169 and released in 1.3.1
1.3.1
Sorry, something went wrong.
No branches or pull requests
When I try to format a really old date with timezone I get an incorrect offset with decimals.
This is what I get and want it should be:
Here is a Codesandbox with the issue:
https://codesandbox.io/s/pensive-babbage-3lnzts?file=/src/index.js
Does anyone have a solution for this?
The text was updated successfully, but these errors were encountered: