Debugging a time zone problem

Marc Girod
Thu May 14 09:38:00 GMT 2009

Ken Brown-6 wrote:
> I've built emacs 23 under both cygwin 1.5 and 1.7, and it runs fine for 
> me except for a glitch involving time zones:  Emacs gets the local time 
> zone wrong by 4 hours.
I am using your port on 1.7, and cannot reproduce.

In my *scratch* buffer:

      Time-stamp: <2009-05-14 10:33:36 emagiro>
(getenv "TZ")

I filled the template:

      Time-stamp: <>

with the time-stamp command, and the time matches my clock.

Note that my local timezone is now:

src> date
Thu May 14 10:35:36 GMTDT 2009

Looking at the sources, the most suspicious place given your description,
seems to be msdos.c, around lines 4453-4494...


View this message in context:
Sent from the Cygwin list mailing list archive at

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list