From 786a16b1b64e1fe51fff24625df7128ff9e88d67 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Fri, 6 Jun 2025 11:15:55 +0200 Subject: [PATCH] Properly format `UNTIL` field in ics export - Before that, the end date of recurring event was formatted as timestamp and made ICS export bogus --- www/calendar/export.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/calendar/export.js b/www/calendar/export.js index 261d810aa..e6662eee0 100644 --- a/www/calendar/export.js +++ b/www/calendar/export.js @@ -97,6 +97,10 @@ define([ }); return; } + if (k === "until") { + rrule += ";"+k.toUpperCase()+"="+getICSDate(r[k]); + return; + } rrule += ";"+k.toUpperCase()+"="+r[k]; }); return rrule;