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

Fix Date.localOffset for time zones east of prime meridian #505

Merged
merged 3 commits into from
Jul 28, 2023

Conversation

MatthewFluet
Copy link
Member

Fix bug in Date.localOffset for time zones east of prime meridian.

Closes #499.

This makes `Date.localOffset` sensitive to changes in `TZ` environment
variable during execution of the program.
The `date-localOffset` regression test demonstrates a bug in
`Date.localOffset` for time zones east of prime meridian.
Thanks to Arata Mizuki (minoki) for the bug report and suggested fix.
@MatthewFluet MatthewFluet merged commit f291d2a into MLton:master Jul 28, 2023
8 of 9 checks passed
@MatthewFluet MatthewFluet deleted the date-localOffset-fix branch July 28, 2023 16:45
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 this pull request may close these issues.

Date.localOffset on eastern regions
1 participant