项目需求、任务以及模块精简

This commit is contained in:
2026-04-06 00:23:23 +08:00
parent 97564b82da
commit 477a08da9f
32 changed files with 1888 additions and 874 deletions

View File

@@ -19,4 +19,12 @@ export function formatToDate(date: dayjs.ConfigType | undefined = undefined, for
return dayjs(date).format(format);
}
export function firstCurrentYear(format = DATE_FORMAT): string {
return dayjs().startOf('year').format(format);
}
export function firstCurrentMonth(format = DATE_FORMAT): string {
return dayjs().startOf('month').format(format);
}
export const dateUtil = dayjs;