Mailinglist Archive: opensuse-bugs (16683 mails)

< Previous Next >
[Bug 399622] New: solve locale mess (first_weekday) in glibc
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 12 Jun 2008 05:16:04 -0600 (MDT)
  • Message-id: <bug-399622-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=399622


Summary: solve locale mess (first_weekday) in glibc
Product: openSUSE 11.1
Version: Alpha 0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: pbaudis@xxxxxxxxxx
ReportedBy: jsuchome@xxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


(From https://bugzilla.novell.com/show_bug.cgi?id=370772#c8:)

Unfortunately, the state of locales wrt. week information is real mess. First,
there seems to be no official documentation of first_weekday, however
http://gentoo-wiki.com/HOWTO_localedef#LC_TIME_settings seems to be a
reasonable source.

Basically, it seems the cs_CZ locale is completely bogus even in that it binds
day[1] (Nedele/Sunday) to week-1stday=19971201 which is Monday. first_weekday
is index to 1-based day[] array, so either the array should start with
Pondeli/Monday or first_weekday=2 and week-1stday=19971130.

This is a long-standing problem and data for most locales is bogus; we will try
to fix that in long term, but this is an arduous process. For now I recommend
to ignore locale data on the start of the week completely.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages