import dayjs, { type Dayjs } from "dayjs" export type { ManipulateType } from "dayjs" import duration from "dayjs/plugin/duration.js" import isSameOrAfter from "dayjs/plugin/isSameOrAfter.js" import isSameOrBefore from "dayjs/plugin/isSameOrBefore.js" import minMax from "dayjs/plugin/minMax.js" import relativeTime from "dayjs/plugin/relativeTime.js" import timezone from "dayjs/plugin/timezone.js" import utc from "dayjs/plugin/utc.js" import weekOfYear from "dayjs/plugin/weekOfYear.js" import "dayjs/locale/pt-br.js" dayjs.locale("pt-br") dayjs.extend(utc) dayjs.extend(timezone) dayjs.extend(weekOfYear) dayjs.extend(isSameOrBefore) dayjs.extend(isSameOrAfter) dayjs.extend(minMax) dayjs.extend(relativeTime) dayjs.extend(duration) export const dayjsbr = dayjs export type { Dayjs }