ZF-10850: Zend_Date::MONTH_NAME, should map to CLDR's stand-alone month name

Issue Type: Improvement Created: 2010-12-19T13:21:57.000+0000 Last Updated: 2012-11-20T21:38:05.000+0000 Status: Open Fix version(s): Reporter: Kim Blomqvist (kblomqvist) Assignee: None Tags: - Zend_Date

Related issues: Attachments:


Zend_Date::MONTH_NAME can cause confuse in some languages. For example, in Finnish Zend_Date::MONTH_NAME evaluates to the conjugated form of the month name, "January" => "tammikuuta" (should be "Tammikuu"). I propose that Zend_Date::MONTH_NAME would be mapped to the "stand-alone" type month name instead of using "format" type month name of CLDR data. In CLDR xml-data this would be:

<pre class="highlight">

       ... (Zend_Date::MONTH_NAME)

Note 1: To make this change either 1) CLDR data should be normalized as there is no value for English "stand-alone" month name (ZF should have to wait this to be accomplished), 2) or Zend_Date will use "format" type name for languages with the same "format" and "stand-alone" type month names.

Note 2: Of course we still need "format" type month names, which can be conjugated in some languages. For this I propose a new constant Zend_Date::MONTH_NAME_FORMAT.

(Note 3: Atm. there is an issue in Finnish "stand-alone" month names in CLDR data. Those should start with the capitals.)


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.