This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Debugging a time zone problem
- From: Marc Girod <marc dot girod at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 14 May 2009 02:38:37 -0700 (PDT)
- Subject: Re: Debugging a time zone problem
- References: <498C685C.4040901@cornell.edu>
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")
nil
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...
Thanks,
Marc
--
View this message in context: http://www.nabble.com/Debugging-a-time-zone-problem-tp21876155p23537290.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/