FasterXML / jackson-datatype-joda

Extension module to properly support full datatype set of Joda datetime library
Apache License 2.0
140 stars 81 forks source link

How can I serialise to a format like ISO_OFFSET_DATE_TIME #122

Closed chaoyangnz closed 3 years ago

chaoyangnz commented 3 years ago

I need to serialise DateTime to a format like 2020-11-01T00:00:00-05:00 rather than the default 2020-11-01T05:00:00Z.

Because if the is UTC format, then I don't know what is the time zone offset. I looked into it, and found no way to implement that.

Please help let me know how I can do it