[#425] Event title modification of all day event alter event dates (#431)

Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
Camille Moussu
2025-12-18 09:09:02 +01:00
committed by GitHub
parent 403517e827
commit 90d6058b0f
4 changed files with 10 additions and 11 deletions
+3 -3
View File
@@ -513,12 +513,12 @@ describe("calendarEventToJCal", () => {
);
});
it("converts all-day events adjusting dtend", () => {
it("converts all-day events", () => {
const mockEvent: any = {
uid: "event-11",
title: "All Day",
start: "2025-07-21T00:00:00.000Z",
end: "2025-07-21T00:00:00.000Z",
end: "2025-07-22T00:00:00.000Z",
timezone: "Europe/Paris",
allday: true,
attendee: [],
@@ -542,7 +542,7 @@ describe("calendarEventToJCal", () => {
calId: "test/test",
title: "Team Meeting",
start: "2025-07-23T00:00:00.000Z",
end: "2025-07-23T00:00:00.000Z",
end: "2025-07-24T00:00:00.000Z",
timezone: "Europe/Paris",
transp: "OPAQUE",
class: "PUBLIC",