This is the mail archive of the libc-alpha@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]

Re: LC_TIME first_weekday locale consolidation


Hello,

In just a few words: it'd be REALLY good to fix the week mess.  Nowadays
applications can just _not_ rely on week/first_weekday because it is
currently bogus in a hell lot of locales. In addition to what Petr said

http://sourceware.org/ml/libc-locales/2009-q1/msg00011.html

I'd just point out the commit dated 2007-10-10 that has added
i18n:week    7;19971201;4
which just broke all the locales including it, since before that, week
was 19971130...

I have updated the testcase of bug 7068:
http://sourceware.org/bugzilla/attachment.cgi?id=3797&action=view

For instance in the fr_FR locale it says:

[fr_FR.UTF-8] week_1stday 1, first_weekday 1, 19971201 was Monday, days[first] says dimanche, strftime[first] says lundi

Which is bogus...

Samuel


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