ZF-6778: for Zend_Validate_Date, 30/02/2009 is correct (dd/MM/YYYY)

Issue Type: Bug Created: 2009-05-22T03:44:31.000+0000 Last Updated: 2009-05-24T11:32:48.000+0000 Status: Resolved Fix version(s): - 1.8.2 (27/May/09)

Reporter: REMI JANOT (rjanot) Assignee: Thomas Weidner (thomas) Tags: - Zend_Validate

Related issues: Attachments:


$validateur_date = new Zend_Validate_Date('dd/mm/YYYY','fr_FR'); 30/02/2009 is passed by form and validate succeed ! whereas a Zend_Validate_Date::INVALID message should be triggered


Posted by Thomas Weidner (thomas) on 2009-05-22T15:11:50.000+0000

Why should this input be false ?

Day: 30 Minute: 02 Calendar Year (not real year): 2009

The input is correct according to the used constants.

Posted by Thomas Weidner (thomas) on 2009-05-24T11:32:48.000+0000

Closing as non-issue according to given example and resulting output

Have you found an issue?

See the Overview section for more details.


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

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