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)
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile