diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-05 16:17:22 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-04-05 16:56:14 +0200 |
commit | 47f7ae254f7941614552dbf248edbac5d28dc367 (patch) | |
tree | a228dad5ca40ed74e22bea6fb8c29220a93d8ebc | |
parent | Add tests for add-and-save. (diff) | |
download | calp-47f7ae254f7941614552dbf248edbac5d28dc367.tar.gz calp-47f7ae254f7941614552dbf248edbac5d28dc367.tar.xz |
Fix rrule:s in frontend being parsed incorrectly.
Diffstat (limited to '')
-rw-r--r-- | static/vevent.ts | 5 |
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': |