There is rest-controller in spring applcation
@GetMapping
public String findByParams(@RequestParam("date") @DateTimeFormat(pattern = DATETIME_FORMAT) ZonedDateTime date) {...}
So, ZonedDateTime does't save my +03:00, +04:00 offsets and shift all times to Z
How to customize it to save my offset in repsonse?
for example, I saved date like this
2020-05-07T17:10:45.001+03:00
but @DateTimeFormat parsed it like
2020-05-07T14:10:45.001Z
But I need in +03:00 offset with time, how to fix it. The issue is save not only for request params, but for dto fields too..