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
Will Gittoes 2022-08-13 07:28:45 +10:00 committed by GitHub
parent 5e013d5864
commit 4cb5a56d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ export default abstract class BaseCalendarService implements Calendar {
currentStart = dayjs(currentEvent.startDate.toJSDate());
if (currentStart.isBetween(start, end) === true) {
return events.push({
events.push({
start: currentStart.toISOString(),
end: dayjs(currentEvent.endDate.toJSDate()).toISOString(),
});