aboutsummaryrefslogtreecommitdiff
path: root/module/output
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2020-02-13 23:58:45 +0100
committerHugo Hörnquist <hugo@hornquist.se>2020-02-13 23:58:45 +0100
commit0a0b92dee4e1f8108673590fe4794c7edd34e3c9 (patch)
tree9ec0068a05a31c58e9e2430be4e32e9a908d0b83 /module/output
parentAdd missing hour to time->decimal-hour. (diff)
downloadcalp-0a0b92dee4e1f8108673590fe4794c7edd34e3c9.tar.gz
calp-0a0b92dee4e1f8108673590fe4794c7edd34e3c9.tar.xz
Remove in-day?
Diffstat (limited to 'module/output')
-rw-r--r--module/output/html.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 46abfdb6..4bb12b45 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -79,7 +79,7 @@
(* 100 (width ev)) ; width
;; top
- (if (in-day? date (attr ev 'DTSTART))
+ (if (date= date (as-date (attr ev 'DTSTART)))
(* 100/24
(time->decimal-hour
(as-time (attr ev 'DTSTART))