diff --git a/packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue b/packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue index 4ae6cd9365..e43f07860f 100644 --- a/packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue +++ b/packages/nc-gui-v2/components/dashboard/settings/AuditTab.vue @@ -1,38 +1,52 @@ - - diff --git a/packages/nc-gui-v2/utils/dateTimeUtils.ts b/packages/nc-gui-v2/utils/dateTimeUtils.ts index 146d70a9c8..e545ee290c 100644 --- a/packages/nc-gui-v2/utils/dateTimeUtils.ts +++ b/packages/nc-gui-v2/utils/dateTimeUtils.ts @@ -5,7 +5,7 @@ import utc from 'dayjs/plugin/utc' dayjs.extend(utc) dayjs.extend(relativeTime) -export const calculateDiff = (date: any) => { +export const timeAgo = (date: any) => { return dayjs.utc(date).fromNow() }