diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-02 23:25:56 +0200 |
commit | 5188fb2251e02b32fd017dc7ba8cd6d0ce892c75 (patch) | |
tree | c79ed2f7b1734ebccc53fa4daee9ed1a5a2862c4 /module/datetime/app.scm | |
parent | Repair vcomponent describe. (diff) | |
download | calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.gz calp-5188fb2251e02b32fd017dc7ba8cd6d0ce892c75.tar.xz |
Remove (util app).
Diffstat (limited to 'module/datetime/app.scm')
-rw-r--r-- | module/datetime/app.scm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/module/datetime/app.scm b/module/datetime/app.scm deleted file mode 100644 index 9797ee39..00000000 --- a/module/datetime/app.scm +++ /dev/null @@ -1,18 +0,0 @@ -(define-module (datetime app) - :use-module (util) - :use-module (util app) - :use-module (ice-9 rdelim) - :use-module (datetime zic)) - -(define-method (init-app) - (setf 'zoneinfo - (let* ((pipe - (-> (@ (global) basedir) - dirname - (string-append "/tzget") - ((@ (ice-9 popen) open-input-pipe)))) - (path (read-line pipe)) - (names (string-split (read-line pipe) #\space))) - (read-zoneinfo - (map (lambda (s) (string-append path file-name-separator-string s)) - names))))) |