Fix early return when expanding RRULE in CalDav/iCal (#3665)
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>pull/3833/head
parent
5e013d5864
commit
4cb5a56d41
|
@ -297,7 +297,7 @@ export default abstract class BaseCalendarService implements Calendar {
|
||||||
currentStart = dayjs(currentEvent.startDate.toJSDate());
|
currentStart = dayjs(currentEvent.startDate.toJSDate());
|
||||||
|
|
||||||
if (currentStart.isBetween(start, end) === true) {
|
if (currentStart.isBetween(start, end) === true) {
|
||||||
return events.push({
|
events.push({
|
||||||
start: currentStart.toISOString(),
|
start: currentStart.toISOString(),
|
||||||
end: dayjs(currentEvent.endDate.toJSDate()).toISOString(),
|
end: dayjs(currentEvent.endDate.toJSDate()).toISOString(),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue