-
Notifications
You must be signed in to change notification settings - Fork 27
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 validation doesn't check for leap years or short months #114
Labels
Projects
Comments
Hello, How can I reproduce the bug? To get me in a direction to look into. |
I found the bug using Data Curator https://github.com/ODIQueensland/data-curator however maintenance of the software has slowed due to lack of funding. |
@chellem const {Field} = require("../src")
const field = new Field({'type': 'date'})
console.log(field.castValue('1999-11-31'))
// Actual: 1999-11-30T22:00:00.000Z
// Expected: TableschemaError is raised |
UnicodingUnicorn
pushed a commit
to UnicodingUnicorn/tableschema-js
that referenced
this issue
Oct 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can validate successfully with dates like:
The text was updated successfully, but these errors were encountered: