From ab0bb8634c93aff6936b7f1d67ba8a2781d7e548 Mon Sep 17 00:00:00 2001 From: Rizky Date: Fri, 2 Aug 2024 17:19:25 +0700 Subject: [PATCH] fix --- app/web/src/nova/ed/panel/tree/history-list.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/web/src/nova/ed/panel/tree/history-list.tsx b/app/web/src/nova/ed/panel/tree/history-list.tsx index 674e73b9..87a49991 100644 --- a/app/web/src/nova/ed/panel/tree/history-list.tsx +++ b/app/web/src/nova/ed/panel/tree/history-list.tsx @@ -48,7 +48,10 @@ export const EdPageHistoryList = () => {
- {formatDistance(Date.now(), parseInt(e.ts) * 5000) + " ago"} + {formatDistance(Date.now(), parseInt(e.ts) * 5000).replace( + "less than a minute", + "seconds" + ) + " ago"}
);