aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/ical/output.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-11-05 23:45:48 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-11-05 23:45:48 +0100
commit0e429de91e57c2445df4fdf2227f65af3e396d9c (patch)
tree9151ec03d773a70944e363855c5b9c296e6fce17 /module/vcomponent/ical/output.scm
parentFix tidsrapport --output flag. (diff)
parentAdd comment about freeform fields. (diff)
downloadcalp-0e429de91e57c2445df4fdf2227f65af3e396d9c.tar.gz
calp-0e429de91e57c2445df4fdf2227f65af3e396d9c.tar.xz
Merge branch 'front'
Diffstat (limited to 'module/vcomponent/ical/output.scm')
-rw-r--r--module/vcomponent/ical/output.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/module/vcomponent/ical/output.scm b/module/vcomponent/ical/output.scm
index a0816679..bcc6bb1d 100644
--- a/module/vcomponent/ical/output.scm
+++ b/module/vcomponent/ical/output.scm
@@ -44,12 +44,16 @@
[(memv key '(FREEBUSY))
(get-writer 'PERIOD)]
+ [(memv key '(CATEGORIES RESOURCES))
+ (lambda (p v)
+ (string-join (map (lambda (v) ((get-writer 'TEXT) p v))
+ v)
+ ","))]
+
[(memv key '(CALSCALE METHOD PRODID COMMENT DESCRIPTION
LOCATION SUMMARY TZID TZNAME
CONTACT RELATED-TO UID
- CATEGORIES RESOURCES
-
VERSION))
(get-writer 'TEXT)]