From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 hooks/use-timestamp.ts |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/hooks/use-timestamp.ts b/hooks/use-timestamp.ts
index 5242eb5..05cc48e 100644
--- a/hooks/use-timestamp.ts
+++ b/hooks/use-timestamp.ts
@@ -15,11 +15,7 @@
     return dayjs.unix(value).tz(timezone).format(format)
   }, [timezone])
 
-  const formatDate = useCallback((value: string, format: string) => {
-    return dayjs(value).tz(timezone).format(format)
-  }, [timezone])
-
-  return { formatTime, formatDate }
+  return { formatTime }
 }
 
 export default useTimestamp

--
Gitblit v1.8.0