From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Suddenly, my timestamps get localized!
Date: Tue, 25 Oct 2011 12:37:00 +0200 [thread overview]
Message-ID: <80d3dltl0z.fsf@somewhere.org> (raw)
In-Reply-To: 874nyx5pwv.fsf@thinkpad.tsdh.de
Hi Tassilo,
Tassilo Horn wrote:
> "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
>
>>> 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.
Good to know!
> 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?
When I wrote (months ago) "did not work", I meant: I got French weekdays in my
agenda ("Lun." for Monday, "Mar.", "Mer.", etc. -- even on 4 characters).
I could retry... but I don't have UTF8 specified in my LANG var. I should do
add it, I guess.
Best regards,
Seb
PS- I'm on Windows XP, with a win32 binary from FSF.
--
Sebastien Vauban
next prev parent reply other threads:[~2011-10-25 10:37 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 [this message]
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=80d3dltl0z.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).