On Saturday 19 December 2009 11:02:51 Carlos E. R. wrote:
On Saturday, 2009-12-19 at 09:48 -0000, ianseeks wrote:
"locale" shows the correct info for me i.e. "en_GB.UTF-8" but the date is always displayed YYYYMMDD when doing "ls -l" etc in the console. KDE seems to deal with it correctly. Does anyone have an idea if this is a formatting bug, configuration issue or should it be this way (hope not)
Configuration. It is controlled by the "LC_TIME" environment variable. "en_GB.UTF-8" does not exist:
~> locale -a | grep en_GB.UTF-8 ~> ~> locale -a | grep en_GB en_GB en_GB.iso885915 en_GB.utf8 ~>
I think we just found a bug... Yes, indeed:
cer@nimrodel:~> locale | grep LC_TIME ; date; LC_TIME="es_ES.utf8" date LC_TIME="en_US.UTF-8" Sat Dec 19 10:58:41 CET 2009 sáb dic 19 10:58:41 CET 2009
The locale is set wrong both in 11.0 and 11.2. Reporting right away.
en_US.UTF-8 is correct, glibc transforms the string "UTF-8" and some variations of it to "utf8" and uses that one internally. I don't see a bug in what you explain above, Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126