Browse Source

chore(nc-gui): remove customParseFormat as it is defined in plugins/a.dayjs.ts

pull/4135/head
Wing-Kam Wong 2 years ago
parent
commit
797eaa05e0
  1. 3
      packages/nc-gui/utils/dateTimeUtils.ts

3
packages/nc-gui/utils/dateTimeUtils.ts

@ -1,7 +1,4 @@
import dayjs from 'dayjs' import dayjs from 'dayjs'
import customParseFormat from 'dayjs/plugin/customParseFormat'
dayjs.extend(customParseFormat)
export const timeAgo = (date: any) => { export const timeAgo = (date: any) => {
return dayjs.utc(date).fromNow() return dayjs.utc(date).fromNow()

Loading…
Cancel
Save