mirror of
https://github.com/koreanbots/core.git
synced 2025-12-16 06:20:24 +00:00
feat: imported new Day.js Plugin
This commit is contained in:
parent
6c3c51ec91
commit
75f2ae9e97
@ -1,7 +1,10 @@
|
|||||||
import Day from 'dayjs'
|
import Day from 'dayjs'
|
||||||
import 'dayjs/locale/ko'
|
import 'dayjs/locale/ko'
|
||||||
import relativeTime from 'dayjs/plugin/relativeTime'
|
import relativeTime from 'dayjs/plugin/relativeTime'
|
||||||
|
import localizedFormat from 'dayjs/plugin/localizedFormat'
|
||||||
|
|
||||||
Day.extend(relativeTime)
|
Day.extend(relativeTime)
|
||||||
|
Day.extend(localizedFormat)
|
||||||
Day.locale('ko')
|
Day.locale('ko')
|
||||||
|
|
||||||
export default Day
|
export default Day
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user