From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Time zone problem in cygwin Date: Thu, 05 Feb 2009 22:38:58 +0200 Message-ID: References: <498AFBE4.2070906@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1233866358 13530 80.91.229.12 (5 Feb 2009 20:39:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2009 20:39:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 05 21:40:32 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LVB1T-0004V3-H1 for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 21:40:31 +0100 Original-Received: from localhost ([127.0.0.1]:51424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVB0A-00061m-FB for ged-emacs-devel@m.gmane.org; Thu, 05 Feb 2009 15:39:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVB05-00060d-3g for emacs-devel@gnu.org; Thu, 05 Feb 2009 15:39:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVB03-0005zb-Fb for emacs-devel@gnu.org; Thu, 05 Feb 2009 15:39:04 -0500 Original-Received: from [199.232.76.173] (port=39255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVB03-0005zY-Cc for emacs-devel@gnu.org; Thu, 05 Feb 2009 15:39:03 -0500 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:44592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVB02-0007V2-Tz for emacs-devel@gnu.org; Thu, 05 Feb 2009 15:39:03 -0500 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KEM00H0016YE100@i-mtaout1.012.net.il> for emacs-devel@gnu.org; Thu, 05 Feb 2009 22:39:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.238.131]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KEM00KA31DLKES0@i-mtaout1.012.net.il>; Thu, 05 Feb 2009 22:39:25 +0200 (IST) In-reply-to: <498AFBE4.2070906@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108802 Archived-At: > Date: Thu, 05 Feb 2009 09:47:00 -0500 > From: Ken Brown > > http://lists.gnu.org/archive/html/emacs-devel/2008-11/msg00532.html > > Eli Zaretskii replied and asked for the value of (format-time-string > "%Y-%m-%d %T %z"). The OP never responded, but the answer for me is > the following: emacs 23 incorrectly reports 2009-02-05 13:35:36 -0100, > whereas emacs 22.3 correctly gives 2009-02-05 09:36:13 -0500 a few > seconds later. One further detail: emacs 23 gives the right time if I > set TZ=America/New_York prior to starting emacs; but my understanding is > that it's not supposed to be necessary to set TZ. Unfortunately, I don't have Cygwin installed, so I'm forced to ask you: can you please step through format-time-string in both Emacs 22.3 and Emacs 23, and see where does the difference come from? Btw, were both binaries compiled with the same versions of the Cygwin runtime libraries?