master #6

Merged
bichangxiong merged 9 commits from master into prod 2025-09-08 18:53:13 +08:00
Showing only changes of commit cf40beb817 - Show all commits

View File

@@ -123,8 +123,7 @@ async function getCarCount() {
endDate.setHours(23, 59, 59, 999);
// 转换为正确的 ISO 格式,考虑时区偏移
const toLocalISOString = (date: Date) => {
const timezoneOffset = date.getTimezoneOffset() * 60000; // 转换为毫秒
const localTime = new Date(date.getTime() - timezoneOffset);
const localTime = new Date(date.getTime());
return localTime.toISOString().slice(0, -1) + 'Z';
};
const response = await fetch(