From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ino-news@spotteswoode.dnsalias.org (clemens fischer) Newsgroups: gmane.lisp.guile.user Subject: Re: timezone offsets Date: Mon, 29 Jan 2007 19:38:07 +0100 Message-ID: References: <1150991831.324.31.camel@lazlo.netdot.net> <1150993685.324.37.camel@lazlo.netdot.net> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1170096616 30154 80.91.229.12 (29 Jan 2007 18:50:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2007 18:50:16 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 29 19:50:13 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HBba0-00052g-UJ for guile-user@m.gmane.org; Mon, 29 Jan 2007 19:50:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBba0-0002b5-GT for guile-user@m.gmane.org; Mon, 29 Jan 2007 13:50:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBbZv-0002ai-Py for guile-user@gnu.org; Mon, 29 Jan 2007 13:50:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBbZv-0002aW-B1 for guile-user@gnu.org; Mon, 29 Jan 2007 13:50:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBbZv-0002aT-44 for guile-user@gnu.org; Mon, 29 Jan 2007 13:50:07 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HBbZu-0004IB-N7 for guile-user@gnu.org; Mon, 29 Jan 2007 13:50:06 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HBbZq-0007Ls-0X for guile-user@gnu.org; Mon, 29 Jan 2007 19:50:02 +0100 Original-Received: from d463cd92.datahighways.de ([212.99.205.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jan 2007 19:50:02 +0100 Original-Received: from ino-news by d463cd92.datahighways.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Jan 2007 19:50:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: d463cd92.datahighways.de Cancel-Lock: sha1:O4Zye9+WDUe2Ovxu4ZpI3VRjBV4= User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/6.2-PRERELEASE (i386)) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5833 Archived-At: On Thu, 22 Jun 2006 11:28:04 -0500 Aaron VanDevender wrote: > On Thu, 2006-06-22 at 10:57 -0500, Aaron VanDevender wrote: >> I notice that if I run: >> >> $ guile -c '(display (strftime "%c %z\n" (localtime (current-time))))' >> Thu Jun 22 10:51:21 2006 +0500 > > On second thought, I think this patch is better since in keeps the > scheme and C representations of the tm structure consistent, and it also > removes the offset calculation redundancy. > > Index: stime.c > =================================================================== > RCS file: /sources/guile/guile/guile-core/libguile/stime.c,v > retrieving revision 1.108 > diff -u -r1.108 stime.c > --- stime.c 17 Apr 2006 00:05:41 -0000 1.108 > +++ stime.c 22 Jun 2006 16:26:36 -0000 i just checked "guile-1.8.1/libguile/stime.c", which doesn't have this patch, although the bug didn't get fixed: $ guile -c '(display (strftime "%c %z\n" (localtime (current-time))))' Mon Jan 29 19:31:28 2007 -0100 $ date Mon Jan 29 19:33:27 CET 2007 CET == +0100 in winter. regards, clemens _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user