aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/recurrence/generate.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-03-21 00:37:27 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2020-03-21 00:37:27 +0100
commit4a796f116b079cdb1fe398bf26f99758a679a702 (patch)
tree3edf957372c3155a2c08a7c09dabfdd598e07e12 /module/vcomponent/recurrence/generate.scm
parentAdd rudementary popup system. (diff)
downloadcalp-4a796f116b079cdb1fe398bf26f99758a679a702.tar.gz
calp-4a796f116b079cdb1fe398bf26f99758a679a702.tar.xz
Minor cleanup.
Diffstat (limited to 'module/vcomponent/recurrence/generate.scm')
-rw-r--r--module/vcomponent/recurrence/generate.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/vcomponent/recurrence/generate.scm b/module/vcomponent/recurrence/generate.scm
index ba6257f8..42b3ca09 100644
--- a/module/vcomponent/recurrence/generate.scm
+++ b/module/vcomponent/recurrence/generate.scm
@@ -155,9 +155,8 @@
;; The value type of dtstart and dtend must be the same
;; according to RFC 5545 3.8.2.2 (Date-Time End).
(if (date? end)
- (time second: (print-and-return (date-difference end (attr event 'DTSTART))))
- (time second: (print-and-return (datetime-difference end (attr event 'DTSTART))))))]))
- (format (current-error-port) "duration = ~a~%" (attr event 'X-HNH-DURATION))
+ (time second: (date-difference end (attr event 'DTSTART)))
+ (time second: (datetime-difference end (attr event 'DTSTART)))))]))
(if (attr event "RRULE")
(recur-event-stream event (parse-recurrence-rule
(attr event "RRULE")