jquery-validation / jquery-validation/jquery-validation

Date validation failure.

Open
#2,458 11 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.