bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for SRFI-19 bug in guile-core


From: Jon Wilson
Subject: Patch for SRFI-19 bug in guile-core
Date: Fri, 06 Jul 2007 16:37:32 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Hi,
I wrote about a bug in SRFI-19, namely that date->julian-day does not take into account the time zone offset. I also posted a patch there. However, since I got no response, I figure I probably posted to the wrong list (I had forgotten about bug-guile at the time). So, here it is again. I checked out CVS head, made the necessary change, and ran cvs diff. The resulting patch is attached.
Regards,
Jon
Index: srfi-19.scm
===================================================================
RCS file: /sources/guile/guile/guile-core/srfi/srfi-19.scm,v
retrieving revision 1.27
diff -r1.27 srfi-19.scm
814c814,815
<         (year (date-year date)))
---
>         (year (date-year date))
>         (offset (date-zone-offset date)))
817c818,819
<        (+ (/ (+ (* hour 60 60)
---
>        (+ (/ (+ (- offset)
>                 (* hour 60 60)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]