ZF-8609: Zend_Date::MONTH_NAME_SHORT is longer than 3 digits for locale fr

Issue Type: Bug Created: 2009-12-22T03:57:54.000+0000 Last Updated: 2010-01-11T12:42:50.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Jean-Marc Fontaine (jmf) Assignee: Thomas Weidner (thomas) Tags: - Zend_Locale

Related issues: Attachments:


The documentation for Zend_Locale describes Zend_Date::MONTH_NAME_SHORT constant as "Month (Name of the month, localized, abbreviated, three digit) " but in locale "fr" the months are 3 to 5 digits long.

This is a bug either in the documentation or in the locale date.


Posted by Thomas Weidner (thomas) on 2009-12-22T14:17:18.000+0000

Note that MONTH_NAME_SHORT is a localized format. It is not manually created but fixed.

Some locales have 2 letters, others 5. For the english manual and the english language the 3 letters are correct.

Posted by Jean-Marc Fontaine (jmf) on 2009-12-23T00:36:09.000+0000

I understand but there are many more languages than english. ;)

I think that a note saying that should be added in the documentation to clarify things.

Posted by Mickael Perraud (mikaelkael) on 2009-12-23T00:45:39.000+0000

I didn't understand that I have also this value to translate :(

I think that the manual (English or not) should integrate all possibilities.

Posted by Thomas Weidner (thomas) on 2010-01-11T12:42:50.000+0000

Fixed with r20206

Have you found an issue?

See the Overview section for more details.


© 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.