aboutsummaryrefslogtreecommitdiff
path: root/module/datetime
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-01 13:09:19 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-06-01 13:09:19 +0200
commit060f31bab987ca20df5977f9351ee87dc44e423b (patch)
tree41404c9434c14c853cb100467324f392f99239f8 /module/datetime
parentAdd assq-limit. (diff)
downloadcalp-060f31bab987ca20df5977f9351ee87dc44e423b.tar.gz
calp-060f31bab987ca20df5977f9351ee87dc44e423b.tar.xz
Modify config to store return of #:pre.
Diffstat (limited to 'module/datetime')
-rw-r--r--module/datetime/util.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/datetime/util.scm b/module/datetime/util.scm
index 6b0a8411..a7af4a5a 100644
--- a/module/datetime/util.scm
+++ b/module/datetime/util.scm
@@ -105,7 +105,7 @@
(define-config week-start sun
"First day of week"
- pre: (lambda (x) (<= sun x sat))
+ pre: (ensure (lambda (x) (<= sun x sat)))
post: week-start)
;; given a date, returns the date the first week of that year starts on.