[ILUG] the first day of the week?
P at draigBrady.com
Wed Mar 4 11:34:02 GMT 2009
Ciaran Johnston wrote:
> PÃ¡draig Brady wrote:
>> As the following script shows, the locale for IE on linux
>> has Sunday as the first day of the week. I always think
>> of Sunday as the last day and the UK locale concurs.
>> Where could I lookup the "right" answer?
> ISO 8601:2004 could be a good place to start:
> zipped PDF:
> Table 2 — Calendar days
> Ordinal day number in
> the week Calendar day name
> 1 Monday
> 2 Tuesday
> 3 Wednesday
> 4 Thursday
> 5 Friday
> 6 Saturday
> 7 Sunday
That standard is separate to locales though.
I checked with the ICU locale database:
and it also says Sunday for Ireland and Monday for UK.
But then it was pointed out that on a newer glibc
(on ubuntu 8.04) Ireland has been changed to Monday.
I also checked http://www.timeanddate.com/calendar/
and it had calendars for the US starting on Sunday,
and Monday for both Ireland and the UK.
So it looks like my locale database (and ICU) is out of date.
More information about the ILUG