From 42865cb25d714ad338bfdd0d8a17b8cf04783092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 14 Jan 2021 00:14:35 +0100 Subject: Add comments to some procedures. --- module/vcomponent/recurrence/internal.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'module/vcomponent/recurrence/internal.scm') diff --git a/module/vcomponent/recurrence/internal.scm b/module/vcomponent/recurrence/internal.scm index 8e84a8b6..1b9dd405 100644 --- a/module/vcomponent/recurrence/internal.scm +++ b/module/vcomponent/recurrence/internal.scm @@ -51,6 +51,10 @@ freq until count interval bysecond byminute byhour byday bymonthday byyearday byweekno bymonth bysetpos wkst) + ;; TODO possibly validate fields here + ;; to prevent creation of invalid rules. + ;; This was made apparent when wkst was (incorrectly) set to MO, + ;; which later crashed generate-recurrence-set. (make-recur-rule% freq until count interval bysecond byminute byhour byday bymonthday byyearday byweekno bymonth bysetpos wkst)) -- cgit v1.2.3