Make sure the slots equal the month and date of the invitee so we can check isSame with freebusy
This commit is contained in:
1 parent
9fe11ea10d
commit
bfc7cce688
2 files changed
+8
-4
No files matched your search
+3
-1
@@ -126,7 +126,9 @@ const getSlots = ({
|
||||
organizerBoundaries(workingHours, inviteeDate, inviteeBounds, organizerTimeZone)
|
||||
)
|
||||
.reduce((slots, boundary: Boundary) => [...slots, ...getSlotsBetweenBoundary(frequency, boundary)], [])
|
||||
.map((slot) => slot.utcOffset(dayjs(inviteeDate).utcOffset()));
|
||||
.map((slot) =>
|
||||
slot.month(inviteeDate.month()).date(inviteeDate.date()).utcOffset(inviteeDate.utcOffset())
|
||||
);
|
||||
};
|
||||
|
||||
export default getSlots;
|
||||
Reference in new issue
Block a user