all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs time, timezone don't match system after upgrade
@ 2009-12-28  2:51 Tom Roche
  2009-12-28  4:09 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Roche @ 2009-12-28  2:51 UTC (permalink / raw)
  To: help-gnu-emacs


summary: After updating cygwin to 1.7.1-1, which updated my emacs to
23.1, I now see 

(current-time-string)
"Mon Dec 28 01:21:44 2009"
(current-time-zone)
(-3600 "GMT")

when bash says

$ date
Sun Dec 27 21:21:44 EST 2009

How to fix?

details:

I've been running emacs on cygwin for a long time, until yesterday (27
Dec 09) emacs=22.3 on cygwin=1.5.25 (both on winxp sp3). Today I
updated my cygwin to the new cygwin 1.7.1, which delightfully updated
my emacs to

GNU Emacs 23.1.1 (i686-pc-cygwin, X toolkit, Xaw3d scroll bars)
 of 2009-07-30 on laptop

Mostly this "just works," with no changes required to my all-too-huge
.emacs. However today I'm noticing that the time in my emacs mode line
is now 4 hours ahead of my system time. 

(current-time-string)
"Mon Dec 28 01:21:44 2009"
(current-time-zone)
(-3600 "GMT")

when bash says

$ date
Sun Dec 27 21:21:44 EST 2009

The latter matches my system time (which is backed by NTP, and matches
that of other nearby boxes into which I can shell) and timezone. Note
also that neither $TZ (in cygwin) or %TZ% (in winxp) are set.

How can I make my emacs time and timezone match my system? Feel free
to reply directly to me as well as to the list.

TIA, Tom Roche <Tom_Roche@pobox.com>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-28  4:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-28  2:51 emacs time, timezone don't match system after upgrade Tom Roche
2009-12-28  4:09 ` Eli Zaretskii

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.