timsavage / django-ajax-forms

Automatically exported from code.google.com/p/django-ajax-forms
Other
1 stars 1 forks source link

Date validation for format MM/DD/YYYY fails. Solution provided. #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a date field
2. Use a date in the form of 02/02/2012

What is the expected output? What do you see instead?

The expected output is no error. The actual error is an "invalid date" error

There is a miscellaneous space in the regex for the date check. Line 29 in 
jquery.ajax_forms.validation.js. Removing the space makes the check work 
correctly.

Original issue reported on code.google.com by cpfi...@gmail.com on 21 Aug 2012 at 8:52

GoogleCodeExporter commented 9 years ago

Original comment by Sle...@gmail.com on 15 Oct 2013 at 5:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 997e08f10a46.

Original comment by Sle...@gmail.com on 15 Oct 2013 at 5:15