Properly format UNTIL field in ics export

- Before that, the end date of recurring event was formatted as
  timestamp and made ICS export bogus
This commit is contained in:
Fabrice Mouhartem 2025-06-06 11:15:55 +02:00
parent 9658f4c21b
commit 786a16b1b6
No known key found for this signature in database
GPG Key ID: 90579C24FD123C93

View File

@ -97,6 +97,10 @@ define([
});
return;
}
if (k === "until") {
rrule += ";"+k.toUpperCase()+"="+getICSDate(r[k]);
return;
}
rrule += ";"+k.toUpperCase()+"="+r[k];
});
return rrule;