We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f2f43 commit d763f5dCopy full SHA for d763f5d
services/server/src/lib/availabilitySlot.ts
@@ -260,7 +260,7 @@ export function generatePseudoSlots(
260
tutorIds: number[]
261
): Paginated<IAvailabilitySlot.Self> {
262
const list: IAvailabilitySlot.Self[] = [];
263
- const currentDay = dayjs().startOf("day");
+ const currentDay = dayjs().tz("Africa/Cairo").startOf("day");
264
265
const p1 = (dayStart: Dayjs) => ({
266
start: dayStart.add(9, "hours").toISOString(),
0 commit comments