aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--module/output/html.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/output/html.scm b/module/output/html.scm
index 6b2f8b6e..74ed2f97 100644
--- a/module/output/html.scm
+++ b/module/output/html.scm
@@ -268,7 +268,7 @@
(define ((td attr other-date) text)
`(td (@ ,attr)
(a (@ (href ,(date->string other-date "~Y-~m-~d")
- ".html#" ,(date->string other-date "~Y-~m-~d"))
+ ".html#" ,(date->string (set (day other-date) text) "~Y-~m-~d"))
(class "hidelink"))
,text)))
@@ -292,7 +292,8 @@
,@(cdr p)))
(map (lambda (d) `((@ (class ,(when (date=? today (set (day date) d))
"today")))
- (a (@ (href "#" ,(date->string date "~Y-~m-~d"))
+ (a (@ (href "#" ,(date->string (set (day date) d)
+ "~Y-~m-~d"))
(class "hidelink")) ,d)))
current))
;; | 1 2 ...