* WIP * Renamed pacakge * Update yarn.lock * Lint fixes * Moved afterBufferTime to busyTimes & heavily simplify busy check (#3258) * New Crowdin translations by Github Action (#3312) Co-authored-by: Crowdin Bot <support+bot@crowdin.com> * Fix shell flicker (#3314) Co-authored-by: Peer Richelsen <peeroke@gmail.com> * Add recommended config to plugin * Linting Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Crowdin Bot <support+bot@crowdin.com> Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
28 lines
871 B
TypeScript
28 lines
871 B
TypeScript
/* eslint-disable @calcom/eslint/deprecated-imports */
|
|
import dayjs from "dayjs";
|
|
import dayjsBusinessTime from "dayjs-business-days2";
|
|
import customParseFormat from "dayjs/plugin/customParseFormat";
|
|
import isBetween from "dayjs/plugin/isBetween";
|
|
import isToday from "dayjs/plugin/isToday";
|
|
import localizedFormat from "dayjs/plugin/localizedFormat";
|
|
import relativeTime from "dayjs/plugin/relativeTime";
|
|
import timeZone from "dayjs/plugin/timezone";
|
|
import toArray from "dayjs/plugin/toArray";
|
|
import utc from "dayjs/plugin/utc";
|
|
|
|
dayjs.extend(customParseFormat);
|
|
dayjs.extend(dayjsBusinessTime);
|
|
dayjs.extend(isBetween);
|
|
dayjs.extend(isToday);
|
|
dayjs.extend(localizedFormat);
|
|
dayjs.extend(relativeTime);
|
|
dayjs.extend(timeZone);
|
|
dayjs.extend(toArray);
|
|
dayjs.extend(utc);
|
|
|
|
export type Dayjs = dayjs.Dayjs;
|
|
|
|
export type { ConfigType } from "dayjs";
|
|
|
|
export default dayjs;
|