diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-05 12:39:29 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-05 12:39:29 +0200 |
commit | 19dbe52c17525b758be846b0734b3d96732a7b57 (patch) | |
tree | 7ed383964de2cd5702f8a790146a34247d0930c1 /module | |
parent | Handle no event groups in interval. (diff) | |
download | calp-19dbe52c17525b758be846b0734b3d96732a7b57.tar.gz calp-19dbe52c17525b758be846b0734b3d96732a7b57.tar.xz |
Add missing leading zeroes in minical.
Diffstat (limited to 'module')
-rw-r--r-- | module/output/html.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index 01736cac..23a7b9ac 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -198,7 +198,8 @@ (append (map (td '(class "prev")) (iota month-start (- prev-month-len month-start))) (map (td '(class "cur")) - (map (lambda (d) `(a (@ (href "#" ,(date->string date "~Y-~m-") ,d) + (map (lambda (d) `(a (@ (href "#" ,(date->string date "~Y-~m-") + ,(when (< d 10) 0) ,d) (class "hidelink")) ,d)) (iota month-len 1))) (map (td '(class "next")) |