aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/recurrence/internal.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-01-14 00:14:35 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-01-14 00:14:35 +0100
commit42865cb25d714ad338bfdd0d8a17b8cf04783092 (patch)
treee4463b3e42ee31079e157bdff924113e569d18d4 /module/vcomponent/recurrence/internal.scm
parentAdd horrendous / -> /today redirect. (diff)
downloadcalp-42865cb25d714ad338bfdd0d8a17b8cf04783092.tar.gz
calp-42865cb25d714ad338bfdd0d8a17b8cf04783092.tar.xz
Add comments to some procedures.
Diffstat (limited to 'module/vcomponent/recurrence/internal.scm')
-rw-r--r--module/vcomponent/recurrence/internal.scm4
1 files changed, 4 insertions, 0 deletions
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))