Issues

ZF-12499: Date displaying 2012/12/31

Issue Type: Bug Created: 2013-01-04T14:22:13.000+0000 Last Updated: 2013-04-05T16:07:04.000+0000 Status: Closed Fix version(s): Reporter: Erembert Dubal Teddy (teddy_aventers) Assignee: None Tags: - Zend_Date

  • zend_date

Related issues: Attachments:

Description

The problem is about displaying of the 2012/12/31

For exemple : $date = new Zend_Date('2012-12-31', 'Y-MM-dd');

echo $date->toString(); // 31 déc. 2012 00:00:00 my locale is FR it's good

echo $date->toString('Y-MM-dd'); // 2013-12-31 the result it's false

Comments

Posted by Peter Moolenaar (pmoolenaar) on 2013-01-12T15:29:02.000+0000

Probably a dupe of ZF-5297. Use of a lowercase y should solve it.

Posted by Ralph Schindler (ralph) on 2013-04-05T16:07:04.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: https://github.com/zendframework/zf1/issues/45

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