aboutsummaryrefslogtreecommitdiff
path: root/module/datetime
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-12-21 16:17:28 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-12-22 22:58:30 +0100
commitd00fea566004e67161ee45246b239fff5d416b0e (patch)
tree5641c0c0d0e78b046b6045ed2440512f12259560 /module/datetime
parentComplete rewrite of use2dot (diff)
downloadcalp-d00fea566004e67161ee45246b239fff5d416b0e.tar.gz
calp-d00fea566004e67161ee45246b239fff5d416b0e.tar.xz
Cleanup modules.
Primarly this moves all vcompenent input and output code to clearly labeled modules, instead of being spread out. At the same time it also removes a handfull of unused procedures.
Diffstat (limited to 'module/datetime')
-rw-r--r--module/datetime/instance.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/module/datetime/instance.scm b/module/datetime/instance.scm
index 6cce17f4..a03916d9 100644
--- a/module/datetime/instance.scm
+++ b/module/datetime/instance.scm
@@ -9,7 +9,13 @@
(define-config tz-list '()
description: "List of default zoneinfo files to be parsed")
-;; TODO see (vcomponent instance), this has a similar problem with early load
+;; TODO see (vcomponent uil instance), this has a similar problem with early load
+;; Takes a list of zoneinfo files relative
+;; $XDG-DATA-HOME/calp/zoneinfo, which will probably be
+;; '("tzdata/europe" "tzdata/afrifa" ...)
+;; and builds all these into one giant zoneinfo database object
+;; Note that scripts/tzget should be run beforehand, to download the
+;; data
(define-once zoneinfo
(let ((cache (make-hash-table)))
(label self