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.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 5e09d30f..70c3b8a9 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -186,12 +186,12 @@
"unknown"))
,(when (and (attr ev 'PARTSTAT) (string= "TENTATIVE" (attr ev 'PARTSTAT)))
" tentative")
- ,(when (date<? (as-date (attr ev 'DTSTART)) date)
+ ,(when (date<? (as-date (get-datetime (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)))
+ ,(when (date<? date (as-date (get-datetime (attr ev 'DTEND))))
" continuing"))
(style ,style))
(div (@ (class "event-inner"))