http://bugzilla.novell.com/show_bug.cgi?id=567325
http://bugzilla.novell.com/show_bug.cgi?id=567325#c2
Carlos Robinson changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|carlos.e.r@opensuse.org |
--- Comment #2 from Carlos Robinson 2010-01-05 00:14:55 UTC ---
I'm ashamed, you are absolutely right.
If LC_MONETARY is wrong, then the time format is ignored - I have no idea why.
The wrong settings are my doing, I had created an ~/.i18n file to adapt my
locale.
After correcting the file:
# used by /etc/profile.d/lang.sh
LC_TIME=en_DK.UTF-8
LC_MONETARY=es_ES@euro
LC_PAPER=es_ES@euro
LC_TELEPHONE=es_ES@euro
LC_MEASUREMENT=es_ES@euro
LC_NAME=es_ES@euro
i18n lines 1-7/7 (END)
and login in text mode:
bombadillo login: cer
Password:
Last login: Sun Jan 3 22:26:19 CET 2010 on tty3
Have a lot of fun...
cer@bombadillo:~> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_DK.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=es_ES@euro
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=es_ES@euro
LC_NAME=es_ES@euro
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE=es_ES@euro
LC_MEASUREMENT=es_ES@euro
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
cer@bombadillo:~> date
Tue Jan 5 00:59:03 CET 2010
cer@bombadillo:~> LC_TIME=es_ES.utf8 date
mar ene 5 01:00:12 CET 2010
cer@bombadillo:~> LC_TIME=es_ES.utf8 LC_MONETARY=es_ES.euro date
Tue Jan 5 01:01:39 CET 2010
cer@bombadillo:~> LC_TIME=es_ES.utf8 LC_MONETARY=es_ES@euro date
mar ene 5 01:01:49 CET 2010
cer@bombadillo:~> date
Tue Jan 5 01:01:57 CET 2010
cer@bombadillo:~> l p
-rw-r--r-- 1 cer users 880 2010-01-05 01:02 p
cer@bombadillo:~> LC_MONETARY=es_ES.euro ls -l p
-rw-r--r-- 1 cer users 948 Jan 5 01:03 p
cer@bombadillo:~> LC_MONETARY=es_ES@euro ls -l p
-rw-r--r-- 1 cer users 948 2010-01-05 01:03 p
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.