aboutsummaryrefslogtreecommitdiff
path: root/tests/test/html/caltable.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test/html/caltable.scm')
-rw-r--r--tests/test/html/caltable.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test/html/caltable.scm b/tests/test/html/caltable.scm
index d9eeca3e..f64f8775 100644
--- a/tests/test/html/caltable.scm
+++ b/tests/test/html/caltable.scm
@@ -101,5 +101,8 @@
(time (@ (datetime "2022-05-01")) 1)))
(parameterize ((week-start mon))
- (cal-table start-date: #2022-04-01 end-date: #2022-04-30 next-start: month+ prev-start: month-)))
+ (cal-table start-date: #2022-04-01
+ end-date: #2022-04-30
+ next-start: (lambda (d) (date+ d (date month: 1)))
+ prev-start: (lambda (d) (date- d (date month: 1))))))