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