update ai.txt

This commit is contained in:
bridge
2025-11-22 01:41:34 +08:00
parent fb4d70a8ee
commit 077cb5978f
3 changed files with 4 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ function formatEventDate(event: { year?: number; month?: number; monthStamp?: nu
}
if (typeof event.monthStamp === 'number') {
const year = Math.floor(event.monthStamp / 12)
const month = event.monthStamp % 12 || 12
const month = (event.monthStamp % 12) + 1
return `${year}${month}`
}
return '未知'