ZF-5371: Date output format bug
Description
Example:
$date = new Adept_Date('29.12.2008'); echo $date->toString('dd.MM.YYYY');
Result: 29.12.2009
But 2008 expected.
This bug happend today (29 Dec, on 28 Dec It works normally)
Version of Zend_Date: $Id: Date.php 13373 2008-12-19 12:22:49Z thomas $
Comments
Posted by Sergey Voyachek (voyachek) on 2008-12-29T05:29:59.000+0000
Same situation with:
$date = new Adept_Date(); $date->setDay(29); $date->setMonth(12); $date->setYear(2008); echo $date->toString('dd.MM.YYYY');
So I think that problem is in output methods.
Posted by Mickael Perraud (mikaelkael) on 2008-12-29T05:33:31.000+0000
Read the manual and use 'yyyy' ;)
Posted by Sergey Voyachek (voyachek) on 2008-12-29T05:44:22.000+0000
Yep... it helps ;-)
Posted by Thomas Weidner (thomas) on 2008-12-29T07:45:34.000+0000
Please do first look if a related issue already exist or has existed before creating same issues multiple times.
Posted by Thomas Weidner (thomas) on 2008-12-29T07:47:45.000+0000
Duplication of ZF-5297