aboutsummaryrefslogtreecommitdiff
path: root/module/calp/entry-points/tidsrapport.scm
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/calp/entry-points/tidsrapport.scm
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/calp/entry-points/tidsrapport.scm')
-rw-r--r--module/calp/entry-points/tidsrapport.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/calp/entry-points/tidsrapport.scm b/module/calp/entry-points/tidsrapport.scm
index 4716ceeb..abdd7aa2 100644
--- a/module/calp/entry-points/tidsrapport.scm
+++ b/module/calp/entry-points/tidsrapport.scm
@@ -50,8 +50,8 @@
(srfi srfi-1)
(vcomponent)
(datetime)
- (vcomponent instance)
- (vcomponent instance methods)
+ (vcomponent util instance)
+ (vcomponent util instance methods)
(calp util)
(ice-9 regex)
(ice-9 popen)
@@ -66,7 +66,7 @@
(define instances
(group-by (compose day as-date (extract 'DTSTART))
(stream->list
- ((@ (vcomponent search) execute-query)
+ ((@ (vcomponent util search) execute-query)
(lambda (e)
(define d (as-datetime (prop e 'DTSTART)))
(define s (date year: year month: month day: 1))