From 8ab183e25de48766e286178c078ffdfb4c485b68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 21 Apr 2022 21:25:56 +0200 Subject: Update comment on cal-table. --- module/calp/html/caltable.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'module/calp') diff --git a/module/calp/html/caltable.scm b/module/calp/html/caltable.scm index b81ad18d..b6d7f45f 100644 --- a/module/calp/html/caltable.scm +++ b/module/calp/html/caltable.scm @@ -24,6 +24,12 @@ ;; end-date : ;; next-start : ;; prev-start : +;; +;; Month containing start-date. +;; Days between start-date and end-date will be highlighted +;; prev-start and next-start will generate links for the next interval, +;; they can't be infered from start and end date, mostly due to months having +;; different lengths (define*-public (cal-table key: start-date end-date next-start prev-start) (define (->link date) -- cgit v1.2.3