LC_TIME first_weekday locale consolidation

Samuel Thibault samuel.thibault@ens-lyon.org
Mon Mar 9 01:27:00 GMT 2009


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



More information about the Libc-locales mailing list