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


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