From e99b7f630c6e590b7e6020e0f2e5461319cecb1b Mon Sep 17 00:00:00 2001 From: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:18:23 +0400 Subject: [PATCH] removes iterative offset --- packages/lib/slots.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/slots.ts b/packages/lib/slots.ts index f3f4b290cb..5c66599f9d 100644 --- a/packages/lib/slots.ts +++ b/packages/lib/slots.ts @@ -198,7 +198,7 @@ function buildSlotsWithDateRanges({ slots.push({ time: slotStartTime, }); - slotStartTime = slotStartTime.add(frequency + (offsetStart ?? 0), "minutes"); + slotStartTime = slotStartTime.add(frequency, "minutes"); } });