Bug#693446: libc-bin: C.UTF-8 locale shows bogus dates
Package: libc-bin
Version: 2.13-35
Severity: important
Hi!
Reporting against libc-bin as that’s where this locale comes from:
tg@freewrt:~ $ dpkg -S /usr/lib/locale/C.UTF-8
libc-bin: /usr/lib/locale/C.UTF-8
Verified to exist in sid (2.13-36).
tg@freewrt:~ $ LC_ALL=C.UTF-8 perl -MPOSIX -e 'print strftime('\''%a %b %e %X %Y'\'', localtime())."\n";'
Fri Nov 16 03:42:25 PM 2012
Wrong. But the C locale is right:
tg@freewrt:~ $ LC_ALL=C perl -MPOSIX -e 'print strftime('\''%a %b %e %X %Y'\'', localtime())."\n";'
Fri Nov 16 15:42:26 2012
I think I know where this one comes from:
tg@freewrt:~ $ LC_ALL=en_US.UTF-8 perl -MPOSIX -e 'print strftime('\''%a %b %e %X %Y'\'', localtime())."\n";'
Fri Nov 16 03:42:32 PM 2012
tg@freewrt:~ $ LC_ALL=en_GB.UTF-8 perl -MPOSIX -e 'print strftime('\''%a %b %e %X %Y'\'', localtime())."\n";'
Fri Nov 16 15:42:36 2012
Can we please have the C.UTF-8 locale be a copy of the C locale
with *only* the encoding set to UTF-8, nothing else changed?
Can we please get this fixed in wheezy?
Thanks!
-- System Information:
Debian Release: wheezy/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static
-- no debconf information
Reply to: