From: Seweryn Kokot <s.kokot@po.opole.pl>
To: help-gnu-emacs@gnu.org
Subject: problem with time-stamps on GNU/Linux and Windows
Date: Thu, 04 Sep 2008 13:02:37 +0200 [thread overview]
Message-ID: <874p4wrx6a.fsf@poczta.po.opole.pl> (raw)
Hello,
Could you explain to me why I get slightly different time-stamps under
Windows and Linux?
This is what I get in Linux
2008-08-19 wto 07:26
and under Windows I get
2008-08-05 Wt 11:44
Namely the problem is with %a - abbreviated day of week.
Here are the settings under Linux:
(locale-info 'codeset): "ISO-8859-2"
locale-coding-system: iso-latin-2
and under Windows I have
locale-coding-system: iso-latin-2
system-time-locale: iso-latin-2
system-message-locale: iso-latin-2
(locale-info 'codeset): "cp1250"
Under Linux iso-latin-2 is set by default and on Windows I have to put
the following in .emacs file
(setq locale-coding-system 'iso-latin-2)
(setq system-message-locale 'iso-latin-2)
(setq system-time-locale 'iso-latin-2)
otherwise these values are cp1250, nil and nil
I'm wondering why setting on windows (setq locale-coding-system 'iso-latin-2) has
no impact on (locale-info 'codeset) which still gives "cp1250"?
Any idea what should I do to get the same results on both operating systems?
Thanks in advance,
regards,
Seweryn
next reply other threads:[~2008-09-04 11:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-04 11:02 Seweryn Kokot [this message]
[not found] <mailman.18400.1220525633.18990.help-gnu-emacs@gnu.org>
2008-09-04 13:00 ` problem with time-stamps on GNU/Linux and Windows Jason Rumney
2008-09-04 17:27 ` ken
2008-09-04 17:43 ` Eli Zaretskii
2008-09-04 18:37 ` Seweryn Kokot
2008-09-04 19:04 ` ken
2008-09-04 19:55 ` Seweryn Kokot
[not found] ` <mailman.18448.1220552912.18990.help-gnu-emacs@gnu.org>
2008-09-05 0:38 ` Giorgos Keramidas
2008-09-04 18:19 ` Seweryn Kokot
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874p4wrx6a.fsf@poczta.po.opole.pl \
--to=s.kokot@po.opole.pl \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.