aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/output/html.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 133b3d1e..70c9f17c 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -182,6 +182,10 @@
)
+;; date{,time}-difference works in days, and days are simply multiplied by 24 to get hours.
+;; This means that a day is always assumed to be 24h, even when that's wrong. This might lead
+;; to some weirdness when the timezon switches (DST), but it makes everything else behave MUCH
+;; better.
(define (create-top-block start-date end-date ev)
;; NOTE be vary of api changes to date-diffenence