I'm validating user entered date string in YYYY-MM-DD format using Zend_Validate::is($value,'Date').
this call causes this hierarchy:
Zend_Validate::is()
Zend_Validate_Date->isValid()
Zend_Date::isDate()
Zend_Locale_Format::getDate()
Zend_Locale_Format::_parseDate()
and then fials with this exception:
Zend_Locale_Exception: Unable to parse date '2009-09-08' using 'MMM d, y' (M <> y) in /usr/share/php/Zend/Locale/Format.php on line 1001
I'm using en_US as application locale. how can I configure Zend_Validate accepts my '2009-09-08' format? Is it possible to change the locale format of date?