Skip to content

Commit 54c25c1

Browse files
committed
fix(#429): missing recurrences for certain timezones
1 parent e666506 commit 54c25c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/helpers/generals.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const getRecurrencesForDate = (event: ProcessedEvent, today: Date, timeZo
139139
const duration = differenceInMilliseconds(event.end, event.start);
140140
if (event.recurring) {
141141
return event.recurring
142-
?.between(today, addDays(today, 1), true)
142+
?.between(addDays(today, -1), addDays(today, 1), true)
143143
.map((d: Date, index: number) => {
144144
const start = convertRRuleDateToDate(d);
145145
return {

0 commit comments

Comments
 (0)