Zend Framework

for Zend_Validate_Date, 30/02/2009 is correct (dd/MM/YYYY)

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Not an Issue
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.8.2
  • Component/s: Zend_Validate
  • Labels:
    None

Description

$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

Activity

Hide
Thomas Weidner added a comment -

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.

Show
Thomas Weidner added a comment - 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.
Hide
Thomas Weidner added a comment -

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

Show
Thomas Weidner added a comment - Closing as non-issue according to given example and resulting output

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: