Issues

ZF-5120: Zend_Date->toString YYYY bug(?)

Description

2009-12-29 2008-12-29 2008 2009 <?php date_default_timezone_set('Europe/Minsk'); require_once "Zend/Date.php"; $d = new Zend_Date('2008-12-29 00:00:00', Zend_Date::ISO_8601); echo $d->toString("YYYY-MM-dd") . "
\n"; echo $d->toString("yyyy-MM-dd") . "
\n"; $t = strtotime('2008-12-28 00:00:00'); echo date('o', $t) . "
\n"; $t = strtotime('2008-12-29 00:00:00'); echo date('o', $t) . "
\n"; show_source(__FILE__); ?>

Comments

** Closed without comment. Please see the documentation for an explantion **