You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before 1.3.0.M3, Jackson date format (via spring.jackson.date-format) follows system time zone but after 1.3.0.M3 (including 1.3.0.BUILD-SNAPSHOT), it doesn't follow system time zone.
It could be worked around by downgrading Jackson to 2.5.4 via ext['jackson.version'] = '2.5.4' or setting time zone explicitly via spring.jackson.time-zone=GMT+9.
This is a sample project reproducing the situation:
Dropping back to 2.6.0 also fixes the problem, i.e. the change appears to have been introduced in 2.6.1. I've opened a jackson-databind issue.
I'm going to close this issue. We'll upgrade to new Jackson 2.6.x versions as a matter of course and you seem to have a good workaround for now (setting spring.jackson.time-zone).
Before 1.3.0.M3, Jackson date format (via
spring.jackson.date-format
) follows system time zone but after 1.3.0.M3 (including 1.3.0.BUILD-SNAPSHOT), it doesn't follow system time zone.It could be worked around by downgrading Jackson to 2.5.4 via
ext['jackson.version'] = '2.5.4'
or setting time zone explicitly viaspring.jackson.time-zone=GMT+9
.This is a sample project reproducing the situation:
https://github.com/izeye/spring-boot-throwaway-branches/tree/rest-and-jackson
The text was updated successfully, but these errors were encountered: