-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix datetime format for RFC3339 compliance #82
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still found some cases not covert yet...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment - other than that: LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please recheck that the line 200 change does not break the iso-date-time
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a duplicate and a mistake in the testcases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@epoberezkin, @ChALkeR Please review |
@ChALkeR , @epoberezkin Please review the suggested changes |
@jasoniangreen Could you please have a look an review this? |
@MarcoKorinth Please rebase. |
Co-authored-by: tschmidtb51 <[email protected]>
Co-authored-by: tschmidtb51 <[email protected]>
Co-authored-by: tschmidtb51 <[email protected]>
@lmammino, @jasoniangreen Please review. |
@MarcoKorinth #86 points out that the leap second is implemented incorrectly. This might need some additional logic... |
Fixes #55
Does work for fast mode and full mode.
Fix tested with this example:
ajv.validate({ type: 'string', format: 'date-time' }, '2020-01-01 20:00:00.000Z')