|
|
@ -4,6 +4,7 @@ import customParseFormat from 'dayjs/plugin/customParseFormat.js' |
|
|
|
import duration from 'dayjs/plugin/duration.js' |
|
|
|
import duration from 'dayjs/plugin/duration.js' |
|
|
|
import utc from 'dayjs/plugin/utc.js' |
|
|
|
import utc from 'dayjs/plugin/utc.js' |
|
|
|
import weekday from 'dayjs/plugin/weekday.js' |
|
|
|
import weekday from 'dayjs/plugin/weekday.js' |
|
|
|
|
|
|
|
import timezone from 'dayjs/plugin/timezone.js' |
|
|
|
import { defineNuxtPlugin } from '#imports' |
|
|
|
import { defineNuxtPlugin } from '#imports' |
|
|
|
|
|
|
|
|
|
|
|
export default defineNuxtPlugin(() => { |
|
|
|
export default defineNuxtPlugin(() => { |
|
|
@ -12,4 +13,5 @@ export default defineNuxtPlugin(() => { |
|
|
|
extend(customParseFormat) |
|
|
|
extend(customParseFormat) |
|
|
|
extend(duration) |
|
|
|
extend(duration) |
|
|
|
extend(weekday) |
|
|
|
extend(weekday) |
|
|
|
|
|
|
|
extend(timezone) |
|
|
|
}) |
|
|
|
}) |
|
|
|