diff --git a/danmu_api/utils/log-util.js b/danmu_api/utils/log-util.js index c444451..3a564d4 100644 --- a/danmu_api/utils/log-util.js +++ b/danmu_api/utils/log-util.js @@ -30,7 +30,7 @@ export function log(level, ...args) { // 获取上海时区时间(UTC+8) const now = new Date(); - const shanghaiTime = new Date(now.getTime() + (8 * 60 * 1000)); + const shanghaiTime = new Date(now.getTime() + (8 * 60 * 60 * 1000)); const timestamp = shanghaiTime.toISOString().replace('Z', '+08:00'); globals.logBuffer.push({ timestamp, level, message });