Universal sorting of markers.
This commit is contained in:
parent
0265dc3617
commit
c9ba551132
2 changed files with 15 additions and 1 deletions
|
@ -130,7 +130,7 @@
|
|||
(define (sort-period-markers l)
|
||||
(sort l
|
||||
(lambda (a b)
|
||||
(cal-month<? (cadr a) (cadr b)))))
|
||||
(cal-day/month<? (cadr a) (cadr b)))))
|
||||
|
||||
;; Converts list of start/stop markers to list of pairs of months -
|
||||
;; periods. The markers are lists in the form (start/stop cal-month).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue