-
Notifications
You must be signed in to change notification settings - Fork 82
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
Configured date/time format not considered when serializing Joda Instant #60
Comments
Thank you for investigating with different versions, this is helpful. If it is easy enough, would it be possible to run one more test, with 2.4.6? While it is likely the problem exists (given that 2.5.3 fails, which has same fixes as 2.4.6), due to 2.4.4 causing breakage, there is a chance that fixes in 2.4.5 and 2.4.6 might be relevant. Breakage in question was related to incorrect caching of complex types like |
Your guess was right! The test passes with 2.4.6:
And also passes with 2.4.5:
I did not tried this version before, because it was not listed in the release notes. |
Looks like I hadn't merged from 2.4. The actual fix is in But this does raise the question of why 2.5.3 fails. It should have similar fixes... |
So this was a regression due to changes meant to let Thank you for reporting this! |
The configured date/time format is not considered for org.joda.time.Instant since version 2.4.4 and newer. In earlier versions Instants were serialized using the configured formatter.
Reproduce with the follwing code snippet:
Output using v2.4.3:
Output using v2.4.4:
Output using v2.5.0:
Output using v2.5.3:
The text was updated successfully, but these errors were encountered: