emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: Suddenly, my timestamps get localized!
Date: Thu, 27 Oct 2011 10:40:37 +0200	[thread overview]
Message-ID: <87mxcm969m.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 80bot2q3lk.fsf@somewhere.org

"Sebastien Vauban"
<wxhgmqzgwmuf@spammotel.com> 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	other threads:[~2011-10-27  8:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  9:36 Suddenly, my timestamps get localized! Tassilo Horn
2011-10-25  9:41 ` Sebastien Vauban
2011-10-25 10:13   ` Olaf Meeuwissen
2011-10-25 10:25   ` Tassilo Horn
2011-10-25 10:37     ` Sebastien Vauban
2011-10-25 10:39       ` Tassilo Horn
2011-10-27  7:46       ` Sebastien Vauban
2011-10-27  8:40         ` Tassilo Horn [this message]
2011-10-27  9:34           ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxcm969m.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).