首页和设置会员页,购买页的协议
This commit is contained in:
+1
-1
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user