-
Notifications
You must be signed in to change notification settings - Fork 356
DateTime doesn't validates correct? #348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@mskoric Your interpretation looks correct to me. |
Hi, Input: In I think this should fall. |
@mskoric in an attempt to cleanup this repo we are trying to filter the issues and see which ones might be closed. Is it safe to assume this is a rather old issue, which sadly was left unanswered, and can be closed? Feel free to close it yourself with some comments if helpful. @MichalOdchazel what you are seeing is called rollover where the calendar keeps counting days after 2019-12-31. Same applies in PHP when adding a day to the lat day of the month the result will be the first of the next month. |
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
The text was updated successfully, but these errors were encountered: