feat: 签到记录新增日期筛选

This commit is contained in:
scyang
2026-03-12 23:53:48 +08:00
parent 14a174e0c7
commit e861f8a48f
2 changed files with 355 additions and 102 deletions
+4
View File
@@ -35,6 +35,10 @@ function parseServerUtcDate(value: string | null | undefined): { date: Date | nu
return { date, raw };
}
export function parseServerUtcDateTime(value: string | null | undefined): Date | null {
return parseServerUtcDate(value).date;
}
function formatWithParts(
value: string | null | undefined,
options: Intl.DateTimeFormatOptions,