Make sure the month-in-period treats everything as month.

This commit is contained in:
Dominik Pantůček 2023-05-22 14:21:11 +02:00
parent e02fce55b4
commit 0f668cfa34

View file

@ -195,7 +195,7 @@
(define (cal-month-in-period? p . ml)
(let ((m (if (null? ml)
(*current-month*)
(car ml)))
(cal-ensure-month (car ml))))
(before (cal-ensure-month (cal-period-before p) #t))
(since (cal-ensure-month (cal-period-since p))))
(and (or (not before)