I have a date object like this:
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
@get:JsonProperty("date") val date: Date
The problem is, when my app is setting this date object to Fri Nov 30 00:00:00 CET 2018
, Jackson is setting this date to 2018-11-29
during deserialization. Can somebody give me a hint where the problem is hiding?
My minimum API level is 21.