feat: time cal

This commit is contained in:
tim
2025-07-09 20:44:18 +08:00
parent db58af31c9
commit 32ef3383bc

View File

@@ -14,7 +14,7 @@ export default class TimeManager {
if (diffDays === 0) return `今天 ${timePart}`
if (diffDays === 1) return `昨天 ${timePart}`
if (diffDays === 2) return `两天${timePart}`
if (diffDays === 2) return ` ${timePart}`
const month = date.getMonth() + 1
const day = date.getDate()