No it's not... simply read what was written before in this post.
0 is sunday for italy or united states. But it's not for egypt or oman for
example.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 08, 2009 1:45 AM
Subject: [fw-general] R: Re: [fw-general] Zend_Date first day of the week
I think 0 is sunday.. 1 is monday ..
------Messaggio originale------
Da: takeshin
A:[email protected]
Oggetto: Re: [fw-general] Zend_Date first day of the week
Inviato: 8 Dic 2009 00:27
Thomas Weidner wrote:
It is possible.
But your expectations are wrong. ;-)
No comprendo, Senior ;)
Thomas Weidner wrote:
It's a regional topic.
For more informations look into unicodes database:
http://unicode.org/cldr
It a little bit off topic already :)
I'm interested in function like:
function getFirstDayOfTheWeek($country)
{
switch ($coutry) {
case 'pl':
case 'de':
case 'cz':
case other... (where to find the other?)
return 1;
case some arabic…
case some jewish…
return 6;
case some exotic ones:
return (2 ÷ 5)
…
default:
return 0;
}
}
Of course, I can allow user to set this manually,
but I'm just looking for sane defaults.
--
regards
takeshin
--
View this message in context:
http://n4.nabble.com/Zend-Date-first-day-of-the-week-tp954180p954854.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Sent from my BlackBerry® wireless device