ZF-12366: wrong date validating

Description


$validator = new Zend_Validate_Date(array('format' => 'dd.mm.yyyy'));
var_dump($validator->isValid('2010')); // returns true
var_dump($validator->isValid('May'));  // returns false
var_dump($validator->isValid('11asdf.08..201'));  // returns true

but hope this all should return false...

Comments

Code tags added.