aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-05 16:17:22 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-05 16:56:14 +0200
commit47f7ae254f7941614552dbf248edbac5d28dc367 (patch)
treea228dad5ca40ed74e22bea6fb8c29220a93d8ebc
parentAdd tests for add-and-save. (diff)
downloadcalp-47f7ae254f7941614552dbf248edbac5d28dc367.tar.gz
calp-47f7ae254f7941614552dbf248edbac5d28dc367.tar.xz
Fix rrule:s in frontend being parsed incorrectly.
-rw-r--r--static/vevent.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/static/vevent.ts b/static/vevent.ts
index cee26727..56c9019a 100644
--- a/static/vevent.ts
+++ b/static/vevent.ts
@@ -396,10 +396,13 @@ function xml_to_recurrence_rule(xml: Element): RecurrenceRule {
break;
case 'count':
- case 'interval':
rr.count = Number(t)
break;
+ case 'interval':
+ rr.interval = Number(t)
+ break;
+
case 'bysecond':
case 'byminute':
case 'byhour':