首页和设置会员页,购买页的协议

This commit is contained in:
2026-05-28 21:22:30 +08:00
parent 0e6fde08c7
commit a1633978c5
14 changed files with 455 additions and 64 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export function timestampToLocalDateTime(timestamp: number | null | undefined, p
const m = String(date.getMonth() + 1).padStart(2, '0')
if (precision === 'returnMonth') return `${y}-${m}`
const d = String(date.getDate()).padStart(2, '0')
if (precision === 'returnDay') return `${y}-${m}-${d}`
if (precision === 'returnDay') return `${y}/${m}/${d}`
const h = String(date.getHours()).padStart(2, '0')
if (precision === 'returnHour') return `${y}-${m}-${d} ${h}`
const min = String(date.getMinutes()).padStart(2, '0')