ZF-12499: Date displaying 2012/12/31
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