Zend Framework

Validating a wrong date is rising warning

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.1
  • Fix Version/s: 1.6.0
  • Component/s: Zend_Date
  • Labels:
    None

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

Activity

Hide
Thomas Weidner added a comment -

Please give a code example for reproduction

Show
Thomas Weidner added a comment - Please give a code example for reproduction
Hide
Thomas Weidner added a comment -

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.

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

Updating for the 1.6.0 release.

Show
Wil Sinclair added a comment - Updating for the 1.6.0 release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
30m
Time Spent - 30 minutes