Doing the following:
val zonedFormatter: DateTimeFormatter = DateTimeFormatter.ofPattern("dd.MM.yyyy HH:mm z")
ZonedDateTime.from(zonedFormatter.parse("31.07.2020 14:15 GMT"))
Gives me:
"displayDate": "2020-07-31T14:15:00Z[GMT]"
I want it without the [GMT]:
"displayDate": "2020-07-31T14:15:00Z"