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

Changes to LocalTZA and DefaultTimeZone in ECMA-262 #684

Closed
ptomato opened this issue May 20, 2022 · 1 comment · Fixed by #721
Closed

Changes to LocalTZA and DefaultTimeZone in ECMA-262 #684

ptomato opened this issue May 20, 2022 · 1 comment · Fixed by #721

Comments

@ptomato
Copy link
Contributor

ptomato commented May 20, 2022

This is a heads up about tc39/ecma262#2781

If that is accepted, the operation LocalTZA will be removed from ECMA-262, and DefaultTimeZone will be added. That would require changes in ECMA-402, which should be editorial. The use of LocalTZA in ToLocalTime can be rewritten to use GetIANATimeZoneOffsetNanoseconds which also neatly cleans up the handwavy "where the local time zone is replaced with timezone timeZone" language. DefaultTimeZone can be noted to override the ECMA-262 version.

If desired, I can prepare a PR with the needed changes.

@ptomato
Copy link
Contributor Author

ptomato commented Nov 2, 2022

This PR is #721.

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

Successfully merging a pull request may close this issue.

1 participant