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 Validation not working in Chrome #1

Closed
TheJudge454 opened this issue Feb 26, 2013 · 1 comment
Closed

Date Validation not working in Chrome #1

TheJudge454 opened this issue Feb 26, 2013 · 1 comment

Comments

@TheJudge454
Copy link

In Chrome Version 25.0.1364.97 the date validation is not passing when a date is entered as mm/dd/yyyy and only passes for yyyy-mm-dd. Is there anyway this can be fixed?

Thanks for your consideration!

@jaymorrow
Copy link
Owner

The current W3C Working Draft for the type=date input specifies that the date value should follow the RFC 3339 spec (http://www.w3.org/TR/html-markup/input.date.html#input.date.attrs.value). Chrome supports the date input type so it validates against that specification.

Chrome automatically creates a UI that lets you enter a date in the more familiar mm/dd/yyyy format.

After the core validation functionality of the widget is completed I will look into adding formatters for certain data types to be able to manipulate the input value.

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

No branches or pull requests

2 participants