-
Notifications
You must be signed in to change notification settings - Fork 84
JsonFormat
timezone attribute effect overwritten if pattern attribute present
#98
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
Comments
Hmmh. This may be tricky one, due to tight coupling of format and timezone by JDK. But I'll have a look. |
Seems like new contributor friendly, will label as such. |
JsonFormat
timezone attribute effect overwritten if pattern attribute present
I just realized that I would need a test case here to see what the problem is: description is not enough to see what is going wrong. |
I think this might still be doable, wrt investigation: description suggests how to possibly create the unit test. |
In JacksonJodaDateFormat:
The withFormat() call overwrites the DateTimeFormatter created by withTimeZone() call.
So the resulting object in the _formatter field of JacksonJodaDateFormat will have the iZone field value set to null.
The text was updated successfully, but these errors were encountered: