[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#327025: C locale has bad default for _NL_TIME_FIRST_WEEKDAY



On Wed, Sep 07, 2005 at 01:18:42AM -0500, Graham Wilson wrote:
> Package: locales
> Version: 2.3.5-6
> Severity: normal
> 
> The _NL_TIME_FIRST_WEEKDAY symbol, when passed to nl_langinfo, is
> supposed to give the first day of the week. This seems to work
> correctly for most locales. However, the results for the POSIX locale
> seem odd. I think it would make more sense for POSIX to default to
> Sunday as the first day of the week, rather than Saturday.
> 
>  $ gcc -o test test.c
>  $ ./test
>  POSIX: Saturday
>  en_US: Sunday
>  en_GB: Sunday

Hi Graham,

you are fully right, but technically this is a bug in locale and localedef
programs, which belongs to the libc6 package.  I do not know whether it
makes sense to reassign it.  This bug has been reported upstream
  http://sources.redhat.com/bugzilla/show_bug.cgi?id=181
on 2004-05-25 with a patch, hopefully upstream will give a comment
soon :-/

Denis



Reply to: