diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-13 16:10:57 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-06-13 16:10:57 +0200 |
commit | 8e54810f3481ebbd58034a78ac8c93e082a02b1a (patch) | |
tree | d684686b30e34b6dc3fbb2c675b8deddc74d4780 | |
parent | Fix normalization in (datetime util). (diff) | |
download | calp-8e54810f3481ebbd58034a78ac8c93e082a02b1a.tar.gz calp-8e54810f3481ebbd58034a78ac8c93e082a02b1a.tar.xz |
Update weekday-list documentation.
Diffstat (limited to '')
-rw-r--r-- | module/datetime/util.scm | 3 |
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)) |