unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* problem with time-stamps on GNU/Linux and Windows
@ 2008-09-04 11:02 Seweryn Kokot
  0 siblings, 0 replies; 9+ messages in thread
From: Seweryn Kokot @ 2008-09-04 11:02 UTC (permalink / raw
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.18400.1220525633.18990.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2008-09-05  0:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 11:02 problem with time-stamps on GNU/Linux and Windows Seweryn Kokot
     [not found] <mailman.18400.1220525633.18990.help-gnu-emacs@gnu.org>
2008-09-04 13:00 ` 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

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).