Fix/DST issues (#7462)
* use the organizer timezone and invitee timezone to show slots * type fixes * set start date on selected TZ on booking payload * add considerations when only the invitee is on DTS * Apply suggestions from code review Co-authored-by: alannnc <[email protected]> Co-authored-by: Omar López <[email protected]> * fixes typo * Apply suggestions from code review Co-authored-by: alannnc <[email protected]> * cleaning --------- Co-authored-by: Alex van Andel <[email protected]> Co-authored-by: Omar López <[email protected]> Co-authored-by: alannnc <[email protected]>
This commit is contained in:
7 files changed
+134
-19
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import classNames from "classnames";
|
||||
import React from "react";
|
||||
import { ITimezone } from "react-timezone-select";
|
||||
import type { ITimezone } from "react-timezone-select";
|
||||
|
||||
import { Dayjs } from "@calcom/dayjs";
|
||||
import type { Dayjs } from "@calcom/dayjs";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import getSlots from "@calcom/lib/slots";
|
||||
import { trpc } from "@calcom/trpc/react";
|
||||
@@ -42,6 +42,7 @@ export default function TeamAvailabilityTimes(props: Props) {
|
||||
workingHours: data?.workingHours || [],
|
||||
minimumBookingNotice: 0,
|
||||
eventLength: props.frequency,
|
||||
organizerTimeZone: `${data?.timeZone}`,
|
||||
})
|
||||
: [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user