Skip to content

DateTime doesn't validates correct?  #348

Closed
@mskoric

Description

@mskoric

hi,

i notice a problem with the "date-time" format.

They guys from spacetelescope say that there example is valid =>
https://spacetelescope.github.io/understanding-json-schema/about.html?highlight=date%20time

but the validator says no :)

input:
...
{
"birthday": "2017-02-22"
}

json_spec
....
"birthday": {
"type": "string",
"format": "date-time"
},

I think your version is correct because RFC3309 doesn't allow that TIME is optional.
I don't know whats correct. Can you gimme a hint?

Greetz,

Majk

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