Issues

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

Issue Type: Bug Created: 2008-12-01T06:13:00.000+0000 Last Updated: 2008-12-17T14:39:49.000+0000 Status: Resolved Fix version(s): Reporter: Ilya Spesivtsev (macondos) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: - ZF-5297

Attachments:

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

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2008-12-01T09:53:31.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts