format/wide is used when a string has to be displayed within a date format.
stand-alone/wide should only be used when a string is used independently
from a format.... for example within a translation.
Therefor Zend_Date will never use the standalone format as dates are always
based on a "format" and not be displayed "stand-alone".
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "takeshin" <[email protected]>
To: <[email protected]>
Sent: Wednesday, January 20, 2010 7:01 PM
Subject: [fw-general] Zend_Date::MONTH_NAME stand-alone
I want to display a current month name in Polish language.
So I use Zend_Date::get(Zend_Date::MONTH_NAME);
but it displays 'stycznia' (specified in Zend_Locale_Data .. format/wide)
What I really should display is 'styczeń',
specified in Zend_Locale_Data .. stand-alone/wide
Is it intended, or a bug?
How to get current date this 'stand-alone' format?
Zend_Date::get(Zend_Date::MONTH_NAME_STAND_ALONE);
BTW,
How to get specific key of the array retrieved by this:
Zend_Locale_Data::getList('pl', 'months');
XPath expressions are allowed? mon...@?
--
regards
takeshin
--
View this message in context:
http://n4.nabble.com/Zend-Date-MONTH-NAME-stand-alone-tp1018609p1018609.html
Sent from the Zend Framework mailing list archive at Nabble.com.