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: Tue, 25 Oct 2011 12:25:20 +0200	[thread overview]
Message-ID: <874nyx5pwv.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 80lis9tnkv.fsf@somewhere.org

"Sebastien Vauban"
<wxhgmqzgwmuf@spammotel.com> writes:

Hi Sebastien,

>> What's going on?  I even have no glue how org/emacs (correctly)
>> guesses that I'm German.  My locale is en_US.UTF-8...
>
> Found in my .emacs:
>
> #+begin_src emacs-lisp
>       ;; system locale to use for formatting time values (e.g., timestamps in
>       ;; Org mode files)
>       (setq system-time-locale "C")
>       ;; "en_US.utf8" did not work for the weekday in the agenda!
> #+end_src

Ok, that does the trick.  It was nil before.  And

  (setq system-time-locale (getenv "LANG"))

resulting in "en_US.utf8" seems to work as well.  What did not work for
you in the agenda?

> Now, the question is: why did it change on your machine? New Emacs,
> new Cygwin (if on Windows)?

I'm on GNU/Linux and update my emacs bzr and org git checkouts about
thrice a week.  All I can say is that a week ago, timestamps where
English (or at least I didn't notice).

Bye,
Tassilo

  parent reply	other threads:[~2011-10-25 10:25 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 [this message]
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
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=874nyx5pwv.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).