aboutsummaryrefslogtreecommitdiff
path: root/module/calp/entry-points/tidsrapport.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-02-23 02:18:57 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-02-23 04:03:36 +0100
commit5ab726d27c2a300fefbcc843ad01a7c04590ff15 (patch)
treedb9e7bc8e047fdc5242a9b7c55883c6892770963 /module/calp/entry-points/tidsrapport.scm
parentExtend `for'-macro to allow improper list elements. (diff)
downloadcalp-5ab726d27c2a300fefbcc843ad01a7c04590ff15.tar.gz
calp-5ab726d27c2a300fefbcc843ad01a7c04590ff15.tar.xz
Change group-by to return direct pairs.
Each value in the return of group-by must have exactly two values, so cons pairs (instead of lists) is much better.
Diffstat (limited to 'module/calp/entry-points/tidsrapport.scm')
-rw-r--r--module/calp/entry-points/tidsrapport.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/calp/entry-points/tidsrapport.scm b/module/calp/entry-points/tidsrapport.scm
index b5b9564f..a258cd73 100644
--- a/module/calp/entry-points/tidsrapport.scm
+++ b/module/calp/entry-points/tidsrapport.scm
@@ -93,7 +93,7 @@
(as-time
(datetime-difference (prop e 'DTEND)
(prop e 'DTSTART)))))
- (cadr group))))))
+ (cdr group))))))
instances)