From d00fea566004e67161ee45246b239fff5d416b0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 21 Dec 2021 16:17:28 +0100 Subject: 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. --- module/datetime/instance.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'module/datetime/instance.scm') 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 -- cgit v1.2.3