From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Larry Denenberg Newsgroups: gmane.emacs.bugs Subject: Timezone error in calculating dates of equinoxes and solstices Date: Mon, 23 Sep 2002 13:18:14 CDT Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <200209231818.g8NIIGI6016740@stay.intouchsys.com> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1032805155 14245 127.0.0.1 (23 Sep 2002 18:19:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Sep 2002 18:19:15 +0000 (UTC) Cc: larry@denenberg.com, denis.roegel@loria.fr, reingold@cs.uiuc.edu Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17tXnd-0003hc-00 for ; Mon, 23 Sep 2002 20:19:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tXnh-0000SH-00; Mon, 23 Sep 2002 14:19:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17tXmx-0000QM-00 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2002 14:18:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17tXmv-0000Pt-00 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2002 14:18:31 -0400 Original-Received: from [63.64.185.4] (helo=stay.intouchsys.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17tXmv-0000Pp-00 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2002 14:18:29 -0400 Original-Received: from jane.intouchsys.com (jane.intouchsys.com [10.202.2.111]) by stay.intouchsys.com (/) with ESMTP id g8NIIGI6016740; Mon, 23 Sep 2002 14:18:16 -0400 (EDT) Original-To: bug-gnu-emacs@gnu.org Original-Cc: gildea@intouchsys.com Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3554 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3554 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.1.2 (sparc-sun-solaris2.5, X toolkit) of 2002-05-23 on stay.intouchsys.com Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: In timezone US/Eastern, emacs reports the wrong date for this year's autumnal equinox. It should be 12:55 AM EDT September 23 but is reported as 12:55 AM EDT September 22. (setq displayed-month 9) 9 (setq displayed-year 2002) 2002 (solar-equinoxes-solstices) (((9 22 2002) "Autumnal Equinox 12:55am (EDT)")) When I run emacs with TZ=US/Central, the last command correctly returns (((9 22 2002) "Autumnal Equinox 11:55pm (CDT)")) I believe that the bug is in function solar-equinoxes-solstices, which doesn't correctly convert the result of solar-equinoxes/solstices to daylight time. /Larry Denenberg larry@denenberg.com http://larry.denenberg.com/