Skip to content

Timestamp parsing does not fully support RFC 3339 #709

@marian-varga

Description

@marian-varga

https://github.com/cloudevents/sdk-java/blob/main/api/src/main/java/io/cloudevents/types/Time.java uses the OffsetDateTime parse method to parse timestamps. However, the RFC 3399 specification allows the use of spaces instead of a "T" in the ISO format:
https://datatracker.ietf.org/doc/html/rfc3339#section-5.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions