ZonedDateTime with zone = ZoneOffset.UTC fails when indexing in Elasticsearch 5.6

Description

There must be something wrong with the format used in ES5.6. This probably affects ES6 too, but ES7 should be fine.

To clarify, this bug only happens when the zone is ZoneOffset.UTC. ZoneId.of("UTC") works fine...

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure