Zend Framework

Zend_Validate_Date doesn't accept Zend_Date object

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.9.0, 1.9.1
  • Fix Version/s: 1.9.2
  • Component/s: Zend_Validate
  • Labels:
    None

Description

This is a compatibility issue. Zend_Validate_Date doesn't accept Zend_Date object but it did in version 1.8.X

Issue Links

Activity

Hide
Thomas Weidner added a comment -

The API states that isValid accepts "strings" and nothing more.
Additionally a date object would not have passed the preg_match check.

Show
Thomas Weidner added a comment - The API states that isValid accepts "strings" and nothing more. Additionally a date object would not have passed the preg_match check.
Hide
Thomas Weidner added a comment -

Changing from Bug to Improvement

Show
Thomas Weidner added a comment - Changing from Bug to Improvement
Hide
Thomas Weidner added a comment -

Added with r17695

Show
Thomas Weidner added a comment - Added with r17695

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: