This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/181] [PATCH] POSIX first_weekday should be sunday


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]