A.J. Brown-3 wrote:
>
> I think his question is:
>
> "How do I determine (automagically) what the first day of the week is,
> for a given LOCALE?"
>
> I think he wants something like this:
>
> Zend_Locale::setLocale( <LOCALE> );
> Zend_Date::getFirstWeekday(); // returns 0 for Americas, 1 for Germany
>
Yes. Thank you for helping me to precise the question.
Sorry for not being eloquent enough.
Correct me if I'm wrong,
but I think it's currently not possible with Zend_Date.
I looked into Zend/Locale/Data xmls,
but among lots of options there is no: <firstWorkDayOfTheWeek>
or anything similar to this.
BTW, Is it cultural / religion related/ local law related topic?
For instance, see this article: http://www.cjvlang.com/Dow/SunMon.html
--
regards
takeshin
--
View this message in context:
http://n4.nabble.com/Zend-Date-first-day-of-the-week-tp954180p954773.html
Sent from the Zend Framework mailing list archive at Nabble.com.