Skip to content

Only DateTimeFormatter.ISO_OFFSET_DATE_TIME accepted by ZonedDateTimeKeyDeserializer #306

@caluml

Description

@caluml

Hello.

Is there any reason for specifying DateTimeFormatter.ISO_OFFSET_DATE_TIME as the format for parsing ZonedDateTimes in ZonedDateTimeKeyDeserializer?

This prevents valid ZonedDateTime keys from being deserialised.

If the second parameter to .parse isn't specified, then all formats supported by .parse are allowed.

I have raised a PR to change this: #305

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions