From f98ab75bf0f7fb54e7e3955a5f6e5a4935a86cbe Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 31 十月 2024 11:21:14 +0800
Subject: [PATCH] fix warning

---
 src/utils/dateUtil.ts |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts
index 316b870..66d0012 100644
--- a/src/utils/dateUtil.ts
+++ b/src/utils/dateUtil.ts
@@ -15,4 +15,12 @@
   return dayjs(date).format(format)
 }
 
+export function curDayStart() {
+  return dayjs().startOf('date').format(DATE_TIME_FORMAT)
+}
+
+export function curDayEnd() {
+  return dayjs().endOf('date').format(DATE_TIME_FORMAT)
+}
+
 export const dateUtil = dayjs

--
Gitblit v1.9.3