code refactor

This commit is contained in:
MaysWind
2025-06-01 23:42:35 +08:00
parent b4bff49104
commit cab13cee3c
+1 -1
View File
@@ -886,7 +886,7 @@ export function getCombinedDateAndTimeValues(date: Date, timeValues: string[], i
export function getValidMonthDayOrCurrentDayShortDate(unixTime: number, currentShortDate: string): string {
const currentTime = moment();
let monthLastTime = moment.unix(getMonthLastUnixTimeBySpecifiedUnixTime(unixTime));
const monthLastTime = moment.unix(getMonthLastUnixTimeBySpecifiedUnixTime(unixTime));
if (currentShortDate) {
const yearMonthDay = currentShortDate.split('-');