diff options
Diffstat (limited to 'module/output/html.scm')
-rw-r--r-- | module/output/html.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/module/output/html.scm b/module/output/html.scm index da5c0659..b011da15 100644 --- a/module/output/html.scm +++ b/module/output/html.scm @@ -356,9 +356,8 @@ (define (format-recurrence-rule ev) `(span (@ (class "rrule")) "Upprepas " - ,((compose (@ (vcomponent recurrence display) format-recurrence-rule) - (@ (vcomponent recurrence parse) parse-recurrence-rule)) - (attr ev 'RRULE)) + ,((@ (vcomponent recurrence display) format-recurrence-rule) + (attr ev 'RRULE)) ,@(awhen (attr* ev 'EXDATE) (list ", undantaget " @@ -370,9 +369,7 @@ ;; NOTE only show time when it's different than the start time? ;; or possibly only when FREQ is hourly or lower. (if (memv ((@ (vcomponent recurrence internal) freq) - ((@ (vcomponent recurrence parse) - parse-recurrence-rule) - (attr ev 'RRULE))) + (attr ev 'RRULE)) '(HOURLY MINUTELY SECONDLY)) (datetime->string d "~e ~b ~k:~M") (datetime->string d "~e ~b")))) |