Issues

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

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

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