From 797eaa05e0a11ed8211c41d03a8d99fbbbd1bfbe Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 25 Oct 2022 23:23:08 +0800 Subject: [PATCH] chore(nc-gui): remove customParseFormat as it is defined in plugins/a.dayjs.ts --- packages/nc-gui/utils/dateTimeUtils.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/nc-gui/utils/dateTimeUtils.ts b/packages/nc-gui/utils/dateTimeUtils.ts index 6339fa0776..8736221840 100644 --- a/packages/nc-gui/utils/dateTimeUtils.ts +++ b/packages/nc-gui/utils/dateTimeUtils.ts @@ -1,7 +1,4 @@ import dayjs from 'dayjs' -import customParseFormat from 'dayjs/plugin/customParseFormat' - -dayjs.extend(customParseFormat) export const timeAgo = (date: any) => { return dayjs.utc(date).fromNow()