all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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 --
     [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
2008-09-04 11:02 Seweryn Kokot

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.