Fix open period checking.
This commit is contained in:
parent
637128ae92
commit
d183e658b1
3 changed files with 16 additions and 4 deletions
|
@ -103,7 +103,8 @@
|
|||
(let ((m (if (null? ml)
|
||||
(*current-month*)
|
||||
(car ml))))
|
||||
(and (month<? m (cdr p))
|
||||
(and (or (not (cdr p))
|
||||
(month<? m (cdr p)))
|
||||
(not (month<? m (car p))))))
|
||||
|
||||
;; Returns true if given month is in at least one of the periods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue