Browse Source

fix(nc-gui): timeAgo logic

pull/5601/head
Wing-Kam Wong 2 years ago
parent
commit
90fe83c9e5
  1. 2
      packages/nc-gui/utils/dateTimeUtils.ts

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

@ -1,7 +1,7 @@
import dayjs from 'dayjs'
export const timeAgo = (date: any) => {
return dayjs.utc(date).fromNow()
return dayjs(date).fromNow()
}
export const dateFormats = [

Loading…
Cancel
Save