mirror of https://github.com/nocodb/nocodb
Browse Source
# What's changed? * add dayjs plugin file so we can make sure all dayjs plugins are installed on app initpull/2933/head
braks
2 years ago
2 changed files with 10 additions and 11 deletions
@ -0,0 +1,10 @@ |
|||||||
|
import dayjs from 'dayjs' |
||||||
|
import relativeTime from 'dayjs/plugin/relativeTime' |
||||||
|
import customParseFormat from 'dayjs/plugin/customParseFormat' |
||||||
|
import duration from 'dayjs/plugin/duration' |
||||||
|
import utc from 'dayjs/plugin/utc' |
||||||
|
|
||||||
|
dayjs.extend(utc) |
||||||
|
dayjs.extend(relativeTime) |
||||||
|
dayjs.extend(customParseFormat) |
||||||
|
dayjs.extend(duration) |
Loading…
Reference in new issue