Skip to content
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

Date-time with missing timezone minutes offset is considered valid in v3.0.1 #104

Open
rishikeshjoshi opened this issue Sep 26, 2024 · 0 comments

Comments

@rishikeshjoshi
Copy link

I have a JSON schema as below

"testDate": {
  "type": "string",
  "format": "date-time"
}

The below date which has a missing minute offset which is considered valid

"testDate":  "2023-12-11T23:03:23.568+09"

I am using the below dependencies:

package.json:

"ajv": "^8.17.1",
"ajv-formats": "^3.0.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant