I use Zend_Date class to validate the input date format as showing below

Zend_Date::isDate ( $value, 'yyyy-M-d' )

However the following input date values CAN NOT BE detected as wrong format
2003--10-1
1005-09-01

Is this a bug for Zend_Date class? Please give your comments. Thanks.

Kevin
 

-- 
View this message in context: 
http://www.nabble.com/Zend_Date-to-validate-input-date-format-tp19994516p19994516.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to