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

Any number appears to be a valid date with Chrome. #608

Closed
longestdrive opened this issue Jan 29, 2013 · 2 comments
Closed

Any number appears to be a valid date with Chrome. #608

longestdrive opened this issue Jan 29, 2013 · 2 comments

Comments

@longestdrive
Copy link

Hi
I've set up a test script to validate a date entry on a form. I'm using the latest version of the plugin and v1.9.0 jquery.
The validation works as expected in firefox. that is and text or numbers are not valid, only correctly formatted dates.
However in Chrome if I enter 123 as a date it passes validation and submits the form. I would not expect this.
I know Chrome distorts the date if I try to validate a UK date and a date such as 30/30/2008 would be valid. But I didnt think 123 would interpret as a valid date/

@seriema
Copy link
Contributor

seriema commented Feb 6, 2013

Could you create a test case in jsFiddle? Then I could take a look and maybe create a patch.

@jzaefferer
Copy link
Collaborator

See #581 and #1063

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

No branches or pull requests

3 participants