* 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
* Re: emacs time, timezone don't match system after upgrade
2009-12-28 2:51 emacs time, timezone don't match system after upgrade Tom Roche
@ 2009-12-28 4:09 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2009-12-28 4:09 UTC (permalink / raw)
To: help-gnu-emacs
> From: Tom Roche <Tom_Roche@pobox.com>
> Date: Sun, 27 Dec 2009 21:51:58 -0500 (EST)
>
>
> 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?
Try asking on the Cygwin list first. If that doesn't help, I suggest
you submit a bug report with "M-x report-emacs-bug RET".
^ 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
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).