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

Only normalize OffsetDateTimes when they are normalizable #173

Closed
wants to merge 1 commit into from

Conversation

morth
Copy link

@morth morth commented May 16, 2020

Fix for #166. This commit introduces static constants for the minimum and the maximum OffsetDateTimes that are adjustable to all possible time zones in InstantDeserializer and adds a check that an OffsetDateTime lies in these boundaries before it is adjusted.

Fix for FasterXML#166. This commit introduces static constants for the minimum and the maximum OffsetDateTimes that are adjustable to all possible time zones in InstantDeserializer and adds a check that an OffsetDateTime lies in these boundaries before it is adjusted.
@cowtowncoder
Copy link
Member

LGTM; @kupci what do you think?

@morth Thank you for this PR & apologies for delays. Hoping to get this merged soon -- just one more thing I need (... unless I asked for and it got it already), CLA. Found here:

https://github.com/FasterXML/jackson/blob/master/contributor-agreement.pdf

and only needs to be filed once. Easiest way to print, fill & sign, scan/photo, email to info at fasterxml dot com.
Once I have that (and yay from mr kupci), happy to merge this to be included in 2.11.1!

@kupci
Copy link
Member

kupci commented Jun 6, 2020

Moved these fixes, with a few changes, over to another PR #176 so closing this one.

@kupci kupci closed this Jun 6, 2020
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.

3 participants