Fix: Update date format in merged calendar to be compatible with Nextcloud
This commit is contained in:
parent
3a37c3fd58
commit
f9ba53fefb
|
@ -73,8 +73,8 @@ METHOD:PUBLISH
|
|||
`;
|
||||
mergedCal.forEach((event) => {
|
||||
icalString += `BEGIN:VEVENT
|
||||
DTSTART:${event.start}
|
||||
DTEND:${event.end}
|
||||
DTSTART;VALUE=DATE:${event.start.toISOString().split('T')[0].replace(/-/g, '')}
|
||||
DTEND;VALUE=DATE:${event.end.toISOString().split('T')[0].replace(/-/g, '')}
|
||||
SUMMARY:${event.summary}
|
||||
END:VEVENT
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue