import dayjs from "@calcom/dayjs"; import { Button, ButtonGroup } from "@calcom/ui"; import { FiChevronLeft, FiChevronRight } from "@calcom/ui/components/icon"; import { useCalendarStore } from "../../state/store"; export function SchedulerHeading() { const { startDate, endDate, handleDateChange } = useCalendarStore((state) => ({ startDate: dayjs(state.startDate), endDate: dayjs(state.endDate), handleDateChange: state.handleDateChange, })); return (

{startDate.format("MMM DD")}-{endDate.format("DD")} ,{startDate.format("YYYY")}

{/* TODO: Renable when we have daily/mobile support */} {/* */} {/* TODO: i18n label with correct view */}
); }