aboutsummaryrefslogtreecommitdiff
path: root/module/datetime
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-06-13 16:10:57 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-06-13 16:10:57 +0200
commit8e54810f3481ebbd58034a78ac8c93e082a02b1a (patch)
treed684686b30e34b6dc3fbb2c675b8deddc74d4780 /module/datetime
parentFix normalization in (datetime util). (diff)
downloadcalp-8e54810f3481ebbd58034a78ac8c93e082a02b1a.tar.gz
calp-8e54810f3481ebbd58034a78ac8c93e082a02b1a.tar.xz
Update weekday-list documentation.
Diffstat (limited to 'module/datetime')
-rw-r--r--module/datetime/util.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/datetime/util.scm b/module/datetime/util.scm
index 8645c9f4..f525f680 100644
--- a/module/datetime/util.scm
+++ b/module/datetime/util.scm
@@ -249,7 +249,8 @@
;; Returns a list of the seven week days, with @var{week-start}
;; as the beginning of the week.
;; @example
-;; '(SÖ MÅ TI ON TO FR LÖ)
+;; (weekday-list sun)
+;; => (0 1 2 3 4 5 6)
;; @end example
(define-public (weekday-list week-start)
(take (drop (apply circular-list (iota 7))