* How to override locale setting for time-stamp language
@ 2015-01-21 16:48 Karl Voit
2015-01-22 8:22 ` Sebastien Vauban
0 siblings, 1 reply; 3+ messages in thread
From: Karl Voit @ 2015-01-21 16:48 UTC (permalink / raw)
To: emacs-orgmode
Hi!
I am using Emacs 24.3 on different machines. With Debian GNU/Linux I
get time-stamps like <2015-01-21 Wed>. However, with Windows 7 Pro
(which I do not administrate), I get <2015-01-21 Mi> where "Mi"
stands for the German "Mittwoch".
What do I have to add to my configuration so that I get "Wed"
instead of "Mi" on all of my systems, independent of system
settings?
My naïve debug session resulted in: org-insert-timestamp >
format-time-string which is built-in and uses locale settings to
resolve "%a" to get the abbreviated name of the day.
I don't have a clue which variable holds the locale settings that is
used for this case and I also don't have an idea if modifying this
variable has some potential negative effects as well.
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to override locale setting for time-stamp language
2015-01-21 16:48 How to override locale setting for time-stamp language Karl Voit
@ 2015-01-22 8:22 ` Sebastien Vauban
2015-01-22 13:45 ` Karl Voit
0 siblings, 1 reply; 3+ messages in thread
From: Sebastien Vauban @ 2015-01-22 8:22 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
Karl Voit wrote:
> I am using Emacs 24.3 on different machines. With Debian GNU/Linux I
> get time-stamps like <2015-01-21 Wed>. However, with Windows 7 Pro
> (which I do not administrate), I get <2015-01-21 Mi> where "Mi"
> stands for the German "Mittwoch".
>
> What do I have to add to my configuration so that I get "Wed"
> instead of "Mi" on all of my systems, independent of system
> settings?
>
>
>
> My naïve debug session resulted in: org-insert-timestamp >
> format-time-string which is built-in and uses locale settings to
> resolve "%a" to get the abbreviated name of the day.
>
> I don't have a clue which variable holds the locale settings that is
> used for this case and I also don't have an idea if modifying this
> variable has some potential negative effects as well.
See http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01046.html.
Best regards,
Seb
--
Sebastien Vauban
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to override locale setting for time-stamp language
2015-01-22 8:22 ` Sebastien Vauban
@ 2015-01-22 13:45 ` Karl Voit
0 siblings, 0 replies; 3+ messages in thread
From: Karl Voit @ 2015-01-22 13:45 UTC (permalink / raw)
To: emacs-orgmode
* Sebastien Vauban <sva-news@mygooglest.com> wrote:
> Karl Voit wrote:
>> I am using Emacs 24.3 on different machines. With Debian GNU/Linux I
>> get time-stamps like <2015-01-21 Wed>. However, with Windows 7 Pro
>> (which I do not administrate), I get <2015-01-21 Mi> where "Mi"
>> stands for the German "Mittwoch".
>>
>> What do I have to add to my configuration so that I get "Wed"
>> instead of "Mi" on all of my systems, independent of system
>> settings?
>
> See http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01046.html.
Cool, (setq system-time-locale "C") did the trick. Thanks!
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-22 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 16:48 How to override locale setting for time-stamp language Karl Voit
2015-01-22 8:22 ` Sebastien Vauban
2015-01-22 13:45 ` Karl Voit
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).