aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-05-14 17:45:26 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-05-14 17:45:26 +0200
commit1f0bf09f66e5ddee2e9779e73b40e5d78bcc8370 (patch)
tree31f1145e98e80bdbbadfdef3c8bcd0420894296e /module/entry-points
parentAdd some TODO's. (diff)
downloadcalp-1f0bf09f66e5ddee2e9779e73b40e5d78bcc8370.tar.gz
calp-1f0bf09f66e5ddee2e9779e73b40e5d78bcc8370.tar.xz
server /month/ round to start of month.
Diffstat (limited to 'module/entry-points')
-rw-r--r--module/entry-points/server.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm
index deda98b4..6fb2b6b5 100644
--- a/module/entry-points/server.scm
+++ b/module/entry-points/server.scm
@@ -87,7 +87,7 @@
))))))
(GET "/month/:start-date.html" (start-date)
- (let* ((start-date (parse-iso-date start-date)))
+ (let* ((start-date (start-of-month (parse-iso-date start-date))))
(return '((content-type text/html))
(with-output-to-string