revise ambiguous content

This commit is contained in:
MaysWind
2025-12-30 00:55:22 +08:00
parent 3313ccf051
commit 2f3e26dbe5
20 changed files with 118 additions and 46 deletions
+3 -3
View File
@@ -156,7 +156,7 @@ export const useExploresStore = defineStore('explores', () => {
categoryId: unixTime,
categoryIdType: TransactionExploreDimensionType.Other
};
} else if (dimension === TransactionExploreDataDimension.DateTimeByDay) {
} else if (dimension === TransactionExploreDataDimension.DateTimeByYearMonthDay) {
const unixTime = getDayFirstUnixTimeBySpecifiedUnixTime(transaction.time).toString(10);
return {
@@ -164,7 +164,7 @@ export const useExploresStore = defineStore('explores', () => {
categoryId: unixTime,
categoryIdType: TransactionExploreDimensionType.Other
};
} else if (dimension === TransactionExploreDataDimension.DateTimeByMonth) {
} else if (dimension === TransactionExploreDataDimension.DateTimeByYearMonth) {
const unixTime = getMonthFirstUnixTimeBySpecifiedUnixTime(transaction.time).toString(10);
return {
@@ -172,7 +172,7 @@ export const useExploresStore = defineStore('explores', () => {
categoryId: unixTime,
categoryIdType: TransactionExploreDimensionType.Other
};
} else if (dimension === TransactionExploreDataDimension.DateTimeByQuarter) {
} else if (dimension === TransactionExploreDataDimension.DateTimeByYearQuarter) {
const unixTime = getQuarterFirstUnixTimeBySpecifiedUnixTime(transaction.time).toString(10);
return {