Skip to content

Parse ISO8601 date/times without punctuation #240

Closed
@brianguertin

Description

@brianguertin

It looks like parsing only works if the string contains - and : characters, but these are actually optional in ISO8601.

For example, this local date/time should parse fine, but doesn't:
LocalDateTime.parse("20221025T0600")

Metadata

Metadata

Assignees

No one assigned

    Labels

    formattersRelated to parsing and formatting

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions