Fix calendar export: bug when exporting a calendar containing a modified recurring event in the future

This commit is contained in:
Fabrice Mouhartem 2026-01-22 14:36:02 +01:00
parent b2201dba5a
commit bc2b51b878
No known key found for this signature in database

View File

@ -227,7 +227,7 @@ define([
if (ud.from) { // "From" updates are not supported by ICS: make a new event
var _new = Util.clone(prev);
r.until = getICSDate(d - 1); // Stop previous recursion
r.until = d - 1; // Stop previous recursion
delete r.count;
addEvent(ICS, prev, null); // Add previous event
Array.prototype.push.apply(ICS, toAdd); // Add individual updates