Issues

ZF-5719: Zend Date bug with years

Issue Type: Bug Created: 2009-02-09T08:21:32.000+0000 Last Updated: 2009-02-09T08:29:46.000+0000 Status: Resolved Fix version(s): Reporter: Alan Willms (dyulax) Assignee: Thomas Weidner (thomas) Tags: - Zend_Date

Related issues: - ZF-5297

Attachments:

Description

When you try to:

$data = new Zend_Date('2005-01-01'); // 2005 $string_data = $data->get('YYYY-MM-dd'); die($string_data); //output 2004

Will output:

2004-01-01

What happens?

Comments

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-02-09T08:29:15.000+0000

Please see the manual.

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