diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-24 22:56:49 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-24 22:56:49 +0100 |
commit | 42538075af84c4589a338f333471f3e8ee6fff82 (patch) | |
tree | bcc802aa6110fc7745e80e560e1d57772edf5331 /module | |
parent | Allow nameless calendars again. (diff) | |
download | calp-42538075af84c4589a338f333471f3e8ee6fff82.tar.gz calp-42538075af84c4589a338f333471f3e8ee6fff82.tar.xz |
Add comment about DST and create-top-block.
Diffstat (limited to 'module')
-rw-r--r-- | module/output/html.scm | 4 |
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 |