Zend Framework

Zend_date::setTime bug

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.10.0
  • Component/s: Zend_Date
  • Labels:
    None

Description

Zend_Date::setOptions(array('format_type' => 'php'));

$date = new Zend_Date();
var_dump($date->toString("d.m.Y H:i:s"));
$date->setTime("23:59:59");
var_dump($date->toString("d.m.Y H:i:s"));

Result:
string(19) "10.10.2009 18:56:09"
string(19) "11.10.2009 00:45:59"

Activity

Hide
Thomas Weidner added a comment -

Not reproducable with actual trunk.
Probably fixed by another issue / bug fix.

Set as fixed with next minor release.

Show
Thomas Weidner added a comment - Not reproducable with actual trunk. Probably fixed by another issue / bug fix. Set as fixed with next minor release.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: