aboutsummaryrefslogtreecommitdiff
path: root/module/output/html.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/output/html.scm')
-rw-r--r--module/output/html.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index ba09c0ed..39172318 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -83,10 +83,7 @@
(if (date= date (as-date (attr ev 'DTSTART)))
(* 100/24
(time->decimal-hour
- (as-time (attr ev 'DTSTART))
- #;
- (time- (as-time (attr ev 'DTSTART))
- (start-of-day* (attr ev 'DTSTART)))))
+ (as-time (attr ev 'DTSTART))))
0)
;; height
@@ -97,6 +94,9 @@
(div (@ (class "event CAL_" ,(html-attr (attr (parent ev) 'NAME))
,(when (date<? (as-date (attr ev 'DTSTART)) date)
" continued")
+ ;; TODO all day events usually have the day after as DTEND.
+ ;; So a whole day event the 6 june would have a DTEND of the
+ ;; 7 june.
,(when (date<? date (as-date (attr ev 'DTEND)))
" continuing"))
(style ,style))