-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-ID: <alpine.LSU.2.00.0912191116170.4905@nimrodel.valinor> On Saturday, 2009-12-19 at 11:11 +0100, I wrote:
On Saturday, 2009-12-19 at 11:02 +0100, Carlos E. R. wrote:
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.
Sorry, wrong test. This one is correct:
cer@nimrodel:~> LC_TIME="es_ES."es_ES.UTF-8 date ; LC_TIME="es_ES.utf8" date Sat Dec 19 11:07:58 CET 2009 sáb dic 19 11:07:58 CET 2009
First date is in English, though locale is Spanish.
Ugh. Sorry again. I need more coffee. cer@nimrodel:~> LC_TIME="es_ES.UTF-8" date ; LC_TIME="es_ES.utf8" date sáb dic 19 11:15:36 CET 2009 sáb dic 19 11:15:36 CET 2009 Both settings give correct results. Now, the OP is using "en_GB.UTF-8". Lets test that one. cer@nimrodel:~> LC_TIME="en_GB.UTF-8" date ; LC_TIME="en_GB.UTF-8" date Sat Dec 19 11:16:46 CET 2009 Sat Dec 19 11:16:46 CET 2009 cer@nimrodel:~> LC_TIME="en_GB.UTF-8" ls -l p ; LC_TIME="en_GB.UTF-8" ls -l p - -rw-r--r-- 1 cer users 6219 2009-12-07 14:41 p - -rw-r--r-- 1 cer users 6219 2009-12-07 14:41 p So, both yield the correct result. The above was with 11.0, lets try 11.2: cer@bombadillo:~> LC_TIME="en_GB.UTF-8" ls -l p ; LC_TIME="en_GB.UTF-8" ls -l p - -rw-r--r-- 1 cer users 0 2009-12-19 11:18 p - -rw-r--r-- 1 cer users 0 2009-12-19 11:18 p So it is correct. Now, perhaps the OP does not want "YYYY-MM-DD"... well, it seems that is the standard for Great Britain now >:-p You have these choices for GB:
locale -a | grep GB cy_GB cy_GB.utf8 en_GB en_GB.iso885915 en_GB.utf8 gd_GB gd_GB.utf8 gv_GB gv_GB.utf8 kw_GB kw_GB.utf8
and many more for "en_*" - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkssqgYACgkQtTMYHG2NR9XjFgCfYXLVAWNIvWyYD/PvB0qtgp/f mdUAn2JZGoJc/w+68kmgs1e4VAo66CoA =7rg1 -----END PGP SIGNATURE-----