Skip to content

Leading plus character is considered an error #11

@Enrico204

Description

@Enrico204

By the ISO 8601, years after and including 0000 may be prefixed with the plus sign +. E.g., +2007-00-00T00:00:00Z is a valid date.

Trying to parse the date using this library results in a UnexpectedCharactError.

This problem occurs with v1.1.0. I wasn't able to test the v2.0.0 (due to known problem with go.mod).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions