From f07dd23fc99dd9b055b0dce117a839619046f74e Mon Sep 17 00:00:00 2001 From: 1708-huayu <57060237+1708-huayu@users.noreply.github.com> Date: Fri, 29 Aug 2025 19:03:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=91=A8=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/task/calendar/CalShow.tsx | 5 ++--- 开发记录/开发记录.md | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ui/task/calendar/CalShow.tsx b/src/ui/task/calendar/CalShow.tsx index a534951..a300141 100644 --- a/src/ui/task/calendar/CalShow.tsx +++ b/src/ui/task/calendar/CalShow.tsx @@ -33,7 +33,7 @@ import {CopyOutlined, ExclamationCircleFilled, LoadingOutlined} from "@ant-desig import {copyToClipboard} from "@/lib/copyToClipboard"; import {solarToLunar} from "lunar-calendar"; import CalHeader from "@/components/CalHeader"; -import {lunarDateShow} from "@/utils/timeFormatUtil"; +import {dayjsWeek, lunarDateShow} from "@/utils/timeFormatUtil"; const {confirm} = Modal; /** @@ -79,7 +79,7 @@ const CalShow: React.FC = () => { } }) const dateFormat = (date: Date, culture?: Culture, localizer?: DateLocalizer) => { - return `${date.getDate()}/${lunarDateShow(date)}`; + return `${date.getDate()}/${lunarDateShow(date)}/${dayjsWeek(dayjs(date))}`; }; const handleViewChange = (newView: View) => { setView(newView); @@ -466,7 +466,6 @@ const CalShow: React.FC = () => { date={date} // 条目信息改变 onNavigate={handleNavigate} - // 点击 selectable scrollToTime={scrollToTime} diff --git a/开发记录/开发记录.md b/开发记录/开发记录.md index 37424eb..bd8b4c7 100644 --- a/开发记录/开发记录.md +++ b/开发记录/开发记录.md @@ -14,4 +14,7 @@ https://www.npmjs.com/package/lunar-calendar https://github.com/zzyss86/LunarCalendar ## umi -https://umijs.org/docs/introduce/faq \ No newline at end of file +https://umijs.org/docs/introduce/faq + +## MDN +https://developer.mozilla.org/zh-CN/docs/Web/CSS/justify-content \ No newline at end of file