This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
- From: "egmont at uhulinux dot hu" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Oct 2005 14:00:06 -0000
- Subject: [Bug localedata/181] [PATCH] POSIX first_weekday should be sunday
- References: <20040525214848.181.pere@hungry.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From egmont at uhulinux dot hu 2005-10-07 14:00 -------
One more note:
The localedata tree has a file named POSIX, and based on it the locale-archive
database also has a POSIX entry. This file contains no "week" or
"first_weekday" entries, so the glibc built-in default, 19971130 and 1 are
used, which would lead to a calendar displayed beginning with Sunday if this
locale entry would be reachable, but it isn't, since the built-in POSIX locale
is used whenever the POSIX locale is requested.
So glibc is inconsistent with itself, its built-in POSIX is different from
what the file called POSIX says.
This means that if someone creates a locale which copies the POSIX locale's
time stuff:
LC_TIME
copy "POSIX"
END LC_TIME
then this locale will behave differently than the POSIX locale, as this new
external locale will start the weeks on Sunday, unlike built-in POSIX.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=181
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.