1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-16 16:50:21 +02:00

* Fix two typos that crept in with the scm_X_t to scm_t_X rename.

* Partial fix for date-week-number bug.
This commit is contained in:
Neil Jerram 2002-02-22 23:04:15 +00:00
parent 89255ff476
commit 0f6e56f7e2
8 changed files with 26 additions and 11 deletions

View file

@ -1,3 +1,9 @@
2002-02-22 Neil Jerram <neil@ossau.uklinux.net>
* srfi-19.scm (priv:year-day): Index into priv:month-assoc using
month number, not day number. (Thanks to Sébastien de Menten de
Horne for reporting the problem.)
2002-02-08 Thien-Thi Nguyen <ttn@giblet.glug.org>
* Makefile.am (AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".

View file

@ -802,7 +802,7 @@
(9 . 273) (10 . 304) (11 . 334) (12 . 365)))
(define (priv:year-day day month year)
(let ((days-pr (assoc day priv:month-assoc)))
(let ((days-pr (assoc month priv:month-assoc)))
(if (not days-pr)
(priv:error 'date-year-day 'invalid-month-specification month))
(if (and (priv:leap-year? year) (> month 2))