Re: 24 hour clock in Evolution
- From: NoOp <glgxg@xxxxxxxxxxxxx>
- Date: Mon, 14 Jul 2008 19:14:46 -0700
On 07/14/2008 12:39 PM, sktsee wrote:
OK, I'm hesitant to post the following solution given the apparent
fragility of the OP's system, but it might benefit some users whose
systems are more robust and aren't prone to breaking just by setting one
environment variable ;)
"sudo update-locale LC_TIME=en_ZA.UTF-8" will globally set the LC_TIME
environment variable for the system and not affect other LC_ environment
variables. If the command is successful, /etc/default/locale should
contain the following lines assuming the locale settings weren't
previously altered:
LANG=en_US.UTF-8
LC_TIME=en_ZA.UTF-8
User needs to logout after issuing the command, so that the shell picks
up the change when user logs back in. (Variable isn't automatically
exported). Use the locale command to confirm change after logout/login
$locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=en_ZA.UTF-8 <---changed
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
I chose en_ZA.UTF-8 instead of en_DK.UTF-8 because it differed from his
default locale (en_US.UTF-8) only in the absence of an am/pm format
(defaulting to 24h format) and the date format which was d/m/y instead
of m/d/y. OP had that format set in Nautilus, so I figured it is his
preferred date format.
I just tried this on my test laptop and 'locale' does not show it.
However 'cat /etc/default/locale' does.
I then loaded Evo using a backup from one of the other machines with a
working Evo, and the email message list still shows am/pm. So I
logout/login and 'locale' does indeed now show LC_TIME=en_ZA.UTF-8 (note
current time is still working as US Pacific). Next try Evo, and lo and
behold the email message list is 24 hours w/Date: Wed, 9 Jul 2008
17:40:24 -0700 for one that I picked off of the list.
Cools stuff! As always, thanks sktsee!!
Note to Rick: hang on a day or so & I'll leave this setting on the test
machine to see if it has any ill/odd effects on any other applications.
I doubt that it will, but given your system keyboard/language issues
etc., it's probably better if you let me check it out first... unless of
course you're willing to give it a try before then.
Thanks again sktsee.
Gary
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: 24 hour clock in Evolution
- From: NoOp
- Re: 24 hour clock in Evolution
- References:
- 24 hour clock in Evolution
- From: Rick
- Re: 24 hour clock in Evolution
- From: NoOp
- Re: 24 hour clock in Evolution
- From: Rick
- Re: 24 hour clock in Evolution
- From: NoOp
- Re: 24 hour clock in Evolution
- From: Rick
- Re: 24 hour clock in Evolution
- From: NoOp
- Re: 24 hour clock in Evolution
- From: sktsee
- 24 hour clock in Evolution
- Prev by Date: Aureal Vortex 8830 no sound in ubuntu
- Next by Date: Re: Writer Vs Word
- Previous by thread: Re: 24 hour clock in Evolution
- Next by thread: Re: 24 hour clock in Evolution
- Index(es):