Closed ghost closed 10 years ago
Is valid date is returning false for some variations of valid dates. To make the test more robust the code should accept dates formatted as "2/4/1999" as well as "02/4/1999".
Dates will accept the format with or without a leading 0 now.
Error came from improperly assigning the format string.
Is valid date is returning false for some variations of valid dates. To make the test more robust the code should accept dates formatted as "2/4/1999" as well as "02/4/1999".