aboutsummaryrefslogtreecommitdiff
path: root/module/output/html.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-23 00:06:09 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-23 12:59:19 +0200
commit6a27bd5e2fa51fd9507ab28b33d8738aaffa028d (patch)
treec6b384cd4963e898ff138434e39b2111f1c0698c /module/output/html.scm
parentMade *prodid* global. (diff)
downloadcalp-6a27bd5e2fa51fd9507ab28b33d8738aaffa028d.tar.gz
calp-6a27bd5e2fa51fd9507ab28b33d8738aaffa028d.tar.xz
Minor cleanup.
Diffstat (limited to 'module/output/html.scm')
-rw-r--r--module/output/html.scm4
1 files changed, 0 insertions, 4 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index b011da15..a80b26e9 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -241,9 +241,6 @@
ev `((class
,(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))))
@@ -531,7 +528,6 @@
;; We are before our time interval
[(date< date start-date)
;; TODO find a prettier way to generate links to previous and next time intervals
- ;; TODO also, it would do good with a bit of testing for off-by-one errors
`((class "prev")
(href ,(date->string
(stream-find (lambda (d) (date<= d date (next-start d)))