This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: LC_TIME first_weekday locale consolidation
On Sat, Mar 07, 2009 at 09:55:30PM +0100, Samuel Thibault wrote:
> Petr Baudis wrote:
> > it has been for long documented that DAY_1 in nl_langinfo() is
> > always Sunday and many applicaitons might rely on it; thus, it
> > would be probably safer to keep this convention in order to not
> > confuse applications that are not aware of first_weekday and week[2]
> > (week_1stday).
>
> Then quite a few locales need to be fixed in that direction. Or we make
> these applications get fixed by making the en_US locale be ISO 8601
> conforming (i.e. week[2] is 19971201) and let them react.
But week does begin on Sunday in US, does it not? Locales describe
regional practice, not standards. If anything, the C locale should be
ISO 8601 conformant, but that would be major departure from current
practice.
So I think your patch is the best way to address this. Can you please
go through
http://sources.redhat.com/glibc/wiki/Contribution%20checklist
and open a bugzilla bug for it so that it's kept on Ulrich's radar?
Thanks,
--
Petr "Pasky" Baudis
The average, healthy, well-adjusted adult gets up at seven-thirty
in the morning feeling just terrible. -- Jean Kerr