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: 6 Oct 2005 18:35:38 -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-06 18:35 -------
Today I spent some time trying to understand the locale fields "week" and
"first_weekday" to fix the Hungarian locale (bug #1429). It all started with a
Gnome update, Gnome 2.8 presented a Monday-based calendar, while 2.12 brought
me to a Sunday-based one which is unusable most Hungarian people (well, at
least for me :-) so I wanted to fix it. Then it turned out that new Gnome uses
these fields from glibc...
After all, I came to exactly the same conclusion as Petter. "first_weekday" is
relative to the date (usually 19971130 or 19971201) defined in the "week"
field (which is later available as "week-1stday". As a result, currently
glibc's C locale defines that a calendar should be displayed as if weeks
started on Saturday.
In accordance, if I start Gnome with LC_ALL=POSIX, its calendar really displays
weeks from Saturday to Friday.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |egmont at uhulinux dot hu
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.