| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <23537290.post@talk.nabble.com> |
| Date: | Thu, 14 May 2009 02:38:37 -0700 (PDT) |
| From: | Marc Girod <marc DOT girod AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Debugging a time zone problem |
| In-Reply-To: | <498C685C.4040901@cornell.edu> |
| MIME-Version: | 1.0 |
| References: | <498C685C DOT 4040901 AT cornell DOT edu> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |