ZF-3281: Validating a wrong date is rising warning
Description
While i am validating a wrong date like 0345/56 from a format like dd/mm/yy i got this rised:
Notice: Undefined index: year in D:_Work\airportsb\library\Zend\Date.php on line 4644
While i am validating a wrong date like 0345/56 from a format like dd/mm/yy i got this rised:
Notice: Undefined index: year in D:_Work\airportsb\library\Zend\Date.php on line 4644
Comments
Posted by Thomas Weidner (thomas) on 2008-05-17T01:13:20.000+0000
Please give a code example for reproduction
Posted by Thomas Weidner (thomas) on 2008-05-18T05:52:25.000+0000
Why would someone use a format which holds "day/minute/year" ? This is a really unusefull format and not even a "date".
Anyhow, the notice has been fixed with r9467.
Posted by Wil Sinclair (wil) on 2008-09-02T10:39:19.000+0000
Updating for the 1.6.0 release.