Skip to content

require YYYY-MM-DD and YYYY-MM-DDTHH:mm:ss times #1

Description

@crotwell

Current spec says that:

Two shorter variations for specifying time should be supported:
YYYY-MM-DD​T​HH:MM:SS(implies a time of ​YYYY-MM-DD​T​HH​:​MM​:​SS​.000000)
where the sub-seconds are interpreted to be zeros and
YYYY-MM-DD(implies a time of ​YYYY-MM-DD​T00:00:00.000000)
where the hour, minute, second and sub-second are interpreted to be zeros.

But having these two variants be optional means that client code must either decide whether they are supported on a datacenter by datacenter basis or always use the full time. Making these two time formats required would add very little code to the service implementations, but make it simpler for client writers in general, and much easier when people are typing in URLs by hand.

Recommend the "should be supported" be changed to "must be supported".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions