This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging a time zone problem



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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]