FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

@JsonFormat formatted date data appear time zone problem #93

Closed guoai2015 closed 8 years ago

guoai2015 commented 8 years ago

DOC is said to default on the use of TimeZone.getDefault (), but the actual is not the case. Before it is written directly on the fixed value. But now the project needs to be internationalized and deployed to different countries, so the time zone must take the time to run the environment. However, with the JSON @JsonFormat into the string after the time and running environment of the default time zone for a long time.

cowtowncoder commented 8 years ago

Duplicate of https://github.com/FasterXML/jackson-databind/issues/1266. Please only enter bug once, or if it needs to be moved, close all but one of duplicates.