diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-21 00:37:27 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-03-21 00:37:27 +0100 |
commit | 4a796f116b079cdb1fe398bf26f99758a679a702 (patch) | |
tree | 3edf957372c3155a2c08a7c09dabfdd598e07e12 /module/vcomponent/recurrence | |
parent | Add rudementary popup system. (diff) | |
download | calp-4a796f116b079cdb1fe398bf26f99758a679a702.tar.gz calp-4a796f116b079cdb1fe398bf26f99758a679a702.tar.xz |
Minor cleanup.
Diffstat (limited to '')
-rw-r--r-- | module/vcomponent/recurrence/generate.scm | 5 |
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") |