ZF-5138: Date Calculation Wrong
Description
date_default_timezone_set('America/New_York');
$date1 = new Zend_Date('2008-11-20T17:36:43+00:00'); echo $date1->getIso(). "\n";
$date1->add(1, Zend_Date::MONTH); echo $date1->getIso() . "\n";
============ prints:
2008-11-20T17:36:43+00:00 2008-12-01T17:36:43+00:00
However, without the +00:00 it seems to work.
Comments
Posted by Thomas Weidner (thomas) on 2008-12-02T14:56:30.000+0000
fixed with r12989