Fix member-record tests.
This commit is contained in:
parent
c35d6585cc
commit
817a1c8422
2 changed files with 14 additions and 11 deletions
|
@ -59,8 +59,9 @@
|
|||
(define (member-calendar mr . args)
|
||||
(let ((last-month (if (null? args)
|
||||
(*current-month*)
|
||||
(car args))))
|
||||
(let loop ((cm (period-since (member-record-info mr 'member)))
|
||||
(car args)))
|
||||
(first-month (period-since (car (member-record-info mr 'member)))))
|
||||
(let loop ((cm first-month)
|
||||
(cal '()))
|
||||
(if (month>? cm last-month)
|
||||
(reverse cal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue