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

Fixes a bug caused by Newtonsoft JSON parser altering datetimes #87

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

pkmitre
Copy link
Contributor

@pkmitre pkmitre commented Jan 23, 2024

This pull request addresses an issue where the Newtonsoft JSON parser was silently altering datetimes of user submitted data to the timezone where the API is running, thus changing the local time that jurisdictions were providing and that NCHS expects into incorrect values. The pull request also includes a regression test that ensures the datetimes are not being altered.

@smacadam smacadam merged commit f59b7c7 into main Jan 26, 2024
1 check passed
@smacadam smacadam deleted the fix-datetime-offset-bug branch January 26, 2024 16:24
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.

2 participants