unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Patch for SRFI-19 bug in guile-core
@ 2007-07-06 20:37 Jon Wilson
  2007-07-09  8:28 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Wilson @ 2007-07-06 20:37 UTC (permalink / raw)
  To: bug-guile

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

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

[-- Attachment #2: srfi-19.diff --]
[-- Type: text/x-patch, Size: 437 bytes --]

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)

[-- Attachment #3: Type: text/plain, Size: 137 bytes --]

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-09 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-06 20:37 Patch for SRFI-19 bug in guile-core Jon Wilson
2007-07-09  8:28 ` Ludovic Courtès
2007-07-09 17:03   ` Jon Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).