emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Suddenly, my timestamps get localized!


From: Tassilo Horn
Subject: Re: [O] Suddenly, my timestamps get localized!
Date: Thu, 27 Oct 2011 10:40:37 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

"Sebastien Vauban"
<address@hidden> writes:

Hi Sebastien,

> Just to confirm:
>
>    (setq system-time-locale (getenv "en_US.utf8"))
>
> in my .emacs is not working for me: I get French timestamps (I mean:
> weekday abbreviations) in Org (on `C-c .', for example).

Well, that line above tries to get the value of the environment variable
en_US.utf8.  There is no such variable, so `getenv' returns nil leaving
you with the default setting of `system-time-locale'.

> Setting it back, on-the-fly (with `C-x C-e') to "C" works: I get
> English timestamps.
>
> Though, setting it back once again to "en_US.utf8" works as well: I
> now still get English timestamps!?

See. ;-)

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]