23 lines
685 B
TypeScript
23 lines
685 B
TypeScript
import dayjsbr from "dayjs"
|
|
|
|
export type { ManipulateType } from "dayjs"
|
|
|
|
import duration from "dayjs/plugin/duration"
|
|
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
|
import isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
|
import minMax from "dayjs/plugin/minMax"
|
|
import relativeTime from "dayjs/plugin/relativeTime"
|
|
import timezone from "dayjs/plugin/timezone"
|
|
import utc from "dayjs/plugin/utc"
|
|
import weekOfYear from "dayjs/plugin/weekOfYear"
|
|
|
|
dayjsbr.extend(utc)
|
|
dayjsbr.extend(timezone)
|
|
dayjsbr.extend(weekOfYear)
|
|
dayjsbr.extend(isSameOrBefore)
|
|
dayjsbr.extend(isSameOrAfter)
|
|
dayjsbr.extend(minMax)
|
|
dayjsbr.extend(relativeTime)
|
|
dayjsbr.extend(duration)
|
|
|
|
export { dayjsbr }
|