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:
parent
89255ff476
commit
0f6e56f7e2
8 changed files with 26 additions and 11 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue