Skip to content

Commit ea572ff

Browse files
Update packages/web/src/ducks/events/sagas/saga.util.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b003f41 commit ea572ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/ducks/events/sagas/saga.util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const EventDateUtils = {
101101
// For all-day events with exclusive end dates (e.g., Mon event: start="2025-09-08", end="2025-09-09")
102102
// Check if the event overlaps with the requested date range
103103
const eventStart = dayjs(event.startDate);
104-
const eventEnd = dayjs(event.endDate); // This is exclusive, so actual event ends the day before
104+
const eventEnd = dayjs(event.endDate); // This is exclusive, so the event ends at the very start of the end date
105105
const rangeStart = dayjs(startDate);
106106
const rangeEnd = dayjs(endDate);
107107

0 commit comments

Comments
 (0)