.
This commit is contained in:
parent
a75b70dddd
commit
bdab1f75b1
5 changed files with 34 additions and 34 deletions
32
src/dayjs.ts
32
src/dayjs.ts
|
|
@ -2,22 +2,22 @@ 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"
|
||||
import * as duration from "dayjs/plugin/duration"
|
||||
import * as isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
||||
import * as isSameOrBefore from "dayjs/plugin/isSameOrBefore"
|
||||
import * as minMax from "dayjs/plugin/minMax"
|
||||
import * as relativeTime from "dayjs/plugin/relativeTime"
|
||||
import * as timezone from "dayjs/plugin/timezone"
|
||||
import * as utc from "dayjs/plugin/utc"
|
||||
import * as 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)
|
||||
dayjsbr.extend(utc.default)
|
||||
dayjsbr.extend(timezone.default)
|
||||
dayjsbr.extend(weekOfYear.default)
|
||||
dayjsbr.extend(isSameOrBefore.default)
|
||||
dayjsbr.extend(isSameOrAfter.default)
|
||||
dayjsbr.extend(minMax.default)
|
||||
dayjsbr.extend(relativeTime.default)
|
||||
dayjsbr.extend(duration.default)
|
||||
|
||||
export { dayjsbr }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue