aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-09 23:47:05 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-09 23:47:05 +0100
commit3b8565c33b58196ffe2e3dd8f23a73de57a268f2 (patch)
tree9d3526ea9bcc2ba9a7eb797103549baeb3c3ce6c /module/entry-points
parentCleanup in HTML chunked main. (diff)
downloadcalp-3b8565c33b58196ffe2e3dd8f23a73de57a268f2.tar.gz
calp-3b8565c33b58196ffe2e3dd8f23a73de57a268f2.tar.xz
Sprinkled in some time prints.
Diffstat (limited to 'module/entry-points')
-rw-r--r--module/entry-points/html.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/entry-points/html.scm b/module/entry-points/html.scm
index c08dd72d..55fb0c94 100644
--- a/module/entry-points/html.scm
+++ b/module/entry-points/html.scm
@@ -2,6 +2,7 @@
:export (main)
:use-module (output html)
:use-module (util)
+ :use-module (util time)
:use-module (vcomponent)
:use-module (datetime)
:use-module (datetime util)
@@ -32,6 +33,9 @@
calendar-files: (cond [(option-ref opts 'file #f) => list]
[else (calendar-files)]) ))
+
+ (report-time! "Calendars loaded")
+
(if (option-ref opts 'chunked #f)
(html-chunked-main count calendars events start)
(html-generate calendars events start end render-calendar)))