收支卡片左上角显示年份

This commit is contained in:
WindowBird 2025-08-19 15:04:50 +08:00
parent ba71594057
commit 84dc8e3399

View File

@ -271,9 +271,10 @@ export default {
//
formatDateForDisplay(dateString) {
const date = new Date(dateString)
const year = date.getFullYear()
const month = date.getMonth() + 1
const day = date.getDate()
return `${month}${day}`
return `${year}${month}${day}`
},
//