I have a plain date / time string (local european summer / winter time) I would like to transform into UTC.
The date I receive looks like this
{"message": "2021-05-01 15:39"}
But using LocalDateTime like this
(payload.message as LocalDateTime {format: "yyyy-MM-dd HH:mm"} >> "UTC")
will deliver "2021-05-01T15:49:00Z" - while correctly (respectively what I want) it should be "2021-05-01T13:49:00Z".