aboutsummaryrefslogtreecommitdiff
path: root/module/output/html.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-03 00:12:11 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-03 00:12:11 +0200
commite1b4c48c2e5c65e0749d34ebd20d325dd5ab6c28 (patch)
tree66798c3876b64239f0cab17ee54a9c0bb0a9f471 /module/output/html.scm
parentAllow btn to take nothing, and default to <button>. (diff)
downloadcalp-e1b4c48c2e5c65e0749d34ebd20d325dd5ab6c28.tar.gz
calp-e1b4c48c2e5c65e0749d34ebd20d325dd5ab6c28.tar.xz
Add intervaltype argument to html-generate.
Diffstat (limited to 'module/output/html.scm')
-rw-r--r--module/output/html.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 360151de..eaa5c30b 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -580,6 +580,7 @@
(define*-public (html-generate
key:
+ (intervaltype 'all) ; 'week | 'month | 'all
calendars events start-date end-date
render-calendar ; (bunch of kv args) → (list sxml)
next-start ; date → date