Issues

ZF-3281: Validating a wrong date is rising warning

Issue Type: Bug Created: 2008-05-16T21:51:17.000+0000 Last Updated: 2008-09-02T10:39:19.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Cristian Bichis (avantis) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: Attachments:

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

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts