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

Improving correctness of the formatInTimeZone close to the DST threshold #247

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

asennikov
Copy link
Contributor

Fixes #167
Fixes #228

Using the original date for populating the correct replaced timezone token ensures that the DST threshold is applied to the original date, not a pre-modified date used for further formatting.

@asennikov asennikov changed the title improve correctness of formatInTimeZone close to DST threshold Improving correctness of the formatInTimeZone close to the DST threshold Aug 24, 2023
@asennikov asennikov force-pushed the master branch 2 times, most recently from b8cc570 to 706b06f Compare August 24, 2023 09:36
@WojciechKasprzyk
Copy link

Hi!
I don't want to hurry you, but could you tell me when you plan to release the fix? 😅

@asennikov
Copy link
Contributor Author

Hi! I don't want to hurry you, but could you tell me when you plan to release the fix? 😅

I would ask @marnusw

@marnusw marnusw merged commit f6979d7 into marnusw:master Mar 9, 2024
marnusw added a commit that referenced this pull request Mar 9, 2024
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.

formatInTimeZone Incorrect value z (PST/PDT) formatInTimeZone gives wrong results around DST
3 participants