最新修改

This commit is contained in:
2026-05-26 14:08:13 +08:00
parent 93bd773c51
commit f54c58c366
18 changed files with 2180 additions and 1720 deletions

View File

@@ -19,7 +19,7 @@ export function formatDate(time) {
const timestamp = Number(time)
if (!isNaN(timestamp) && timestamp > 0) {
const date = new Date(timestamp * 1000)
const date = new Date(timestamp > 9999999999 ? timestamp : timestamp * 1000)
if (!isNaN(date.getTime())) {
const y = date.getFullYear()
const m = (date.getMonth() + 1).toString().padStart(2, '0')