forked from boos/BoosAPI
feat: 签到记录新增日期筛选
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user