diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-02-21 03:21:43 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-11 19:58:54 +0200 |
commit | c26324e29043423387c3041e86d8cbe5cd4102b2 (patch) | |
tree | 6395e01b19572bbc22487115e52cadd1f39fafcf /module/calp | |
parent | Fix seeding of UUIDs. (diff) | |
download | calp-c26324e29043423387c3041e86d8cbe5cd4102b2.tar.gz calp-c26324e29043423387c3041e86d8cbe5cd4102b2.tar.xz |
Change `kvlist->assq` and `group-by` to return 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')
-rw-r--r-- | module/calp/entry-points/tidsrapport.scm | 2 |
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) |