diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-14 00:14:35 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-01-14 00:14:35 +0100 |
commit | 42865cb25d714ad338bfdd0d8a17b8cf04783092 (patch) | |
tree | e4463b3e42ee31079e157bdff924113e569d18d4 /module/vcomponent/recurrence/internal.scm | |
parent | Add horrendous / -> /today redirect. (diff) | |
download | calp-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.scm | 4 |
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)) |