diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-17 18:13:58 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-08-17 18:13:58 +0200 |
commit | c1cbef6611df9c8918fee8699b5867d8a54ac810 (patch) | |
tree | 46ab04d457eda5e7c0873efe3480d5c68ef1d4c2 /module/vcomponent/ical/output.scm | |
parent | Got type files out of output. (diff) | |
download | calp-c1cbef6611df9c8918fee8699b5867d8a54ac810.tar.gz calp-c1cbef6611df9c8918fee8699b5867d8a54ac810.tar.xz |
even more.
Diffstat (limited to 'module/vcomponent/ical/output.scm')
-rw-r--r-- | module/vcomponent/ical/output.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/module/vcomponent/ical/output.scm b/module/vcomponent/ical/output.scm index eead035b..ff5465c6 100644 --- a/module/vcomponent/ical/output.scm +++ b/module/vcomponent/ical/output.scm @@ -199,6 +199,15 @@ CALSCALE:GREGORIAN\r (define (print-footer) (format #t "END:VCALENDAR\r\n")) +(define (get-tz-names events) + (lset-difference + equal? (lset-union + equal? '("dummy") + (filter-map + (lambda (vline) (and=> (param vline 'TZID) car)) + (filter-map (extract* 'DTSTART) + events))) + '("dummy" "local"))) (define-public (print-components-with-fake-parent events) |