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

Change IntervalDeserializer to respect input timezone when enabled #109

Merged
merged 1 commit into from
Oct 5, 2019
Merged

Change IntervalDeserializer to respect input timezone when enabled #109

merged 1 commit into from
Oct 5, 2019

Conversation

Woodz
Copy link
Contributor

@Woodz Woodz commented Oct 5, 2019

Change IntervalDeserializer to use Interval.parseWithOffset and
override timezone only if shouldAdjustToContextTimeZone is set or
explicit timezone is specified in the format
Add unit tests for IntervalDeserializer to cover the 3 scenarios:

Change `IntervalDeserializer` to use `Interval.parseWithOffset` and
override timezone only if `shouldAdjustToContextTimeZone` is set or
explicit timezone is specified in the format
Add unit tests for `IntervalDeserializer` to cover the 3 scenarios:
- Timezone explicitly provided in deserialization format
- Context timezone enabled
- Neither context timezone enabled nor explicit timezone provided
Resolve: #104
@Woodz
Copy link
Contributor Author

Woodz commented Oct 5, 2019

@cowtowncoder any idea why CI is failing - it looks as though the dependency snapshot version has been corrupted - Could not transfer artifact com.fasterxml.jackson.core:jackson-databind:jar:3.0.0-20191005.031641-975 from/to sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Checksum validation failed, expected 088cd9f174c370442f12200765610c3a98bfb69e but is ae19b6d3ac494b56b7134f261d60b6d7aa9e89d2

@cowtowncoder cowtowncoder merged commit 47e9055 into FasterXML:master Oct 5, 2019
@cowtowncoder
Copy link
Member

@Woodz Not sure, I'll have a look. Maybe need to manually re-deploy; snapshots should auto-build via Travis but... maybe Sonatype Nexus has had issues.
Will create 2.11 branch, cherry-pick this change to it.

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.

Deserializing Interval discards timezone information
2 participants