jquery-validation / jquery-validation/jquery-validation
Date validation failure.
Open
Nobody has claimed this yet.
Status: Verified
Type: Bug
- Dominant language
- JavaScript
- Stars
- 10.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Your environment
- Version of JQV: 1.19
- Browser name and version: Google Chrome 107.0.5304.107 (Build oficial) (64 bits)
Current behavior
Validator allows any kind of dates even considerating day 30 in February
Expected behavior
Validator must return an error message.
Live demo
Try to validate 1983-02-30 and validator doesn't show anny error message
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the live-demo case with 1983-02-30 in the date validator, then locate the validation entry point and existing date tests; done means invalid calendar dates produce the expected validation error without rejecting valid dates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100