From: Jon Wilson <jsw@wilsonjc.us>
To: bug-guile@gnu.org
Subject: Patch for SRFI-19 bug in guile-core
Date: Fri, 06 Jul 2007 16:37:32 -0400 [thread overview]
Message-ID: <468EA80C.8020202@wilsonjc.us> (raw)
[-- 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
next reply other threads:[~2007-07-06 20:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 20:37 Jon Wilson [this message]
2007-07-09 8:28 ` Patch for SRFI-19 bug in guile-core Ludovic Courtès
2007-07-09 17:03 ` Jon Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468EA80C.8020202@wilsonjc.us \
--to=jsw@wilsonjc.us \
--cc=bug-guile@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).