Skip to content

✨ Proposal: date-time format to accept those in RFC 9557 #1572

Open
@tisonkun

Description

@tisonkun

Describe the inspiration for your proposal

Currently, the "date-time" format with string type only accepts timestamp strings in RFC 3339 format. RFC 9557 is an update to RFC 3339. We may accept timestamp strings in RFC 9557 format also.

Describe the proposal

As trivial as in the inspiration. Refer to https://www.rfc-editor.org/rfc/rfc9557.html.

Describe alternatives you've considered

No response

Additional context

I encountered this issue while implementing GREsau/schemars#364, where I tried to integrate an RFC 9557 implementation with JSON Schema definitions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalInitial discussion of a new idea. A project will be created once a proposal document is created.

    Type

    No type

    Projects

    • Status

      In Discussion

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions