From b29a1423ddb5b69f5544156b4bba6c8f3dc91e85 Mon Sep 17 00:00:00 2001 From: develop202 Date: Wed, 4 Feb 2026 15:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BD=E5=86=85=E6=9B=B4=E6=96=B0=E6=97=A5?= =?UTF-8?q?=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/zbpro.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/zbpro.js b/utils/zbpro.js index 6fdf8f1..6f594b3 100644 --- a/utils/zbpro.js +++ b/utils/zbpro.js @@ -143,7 +143,7 @@ async function getAllURL() { const channelURLTXT = `${channel?.title},${decryptURL}` if (sumChannel == 0) { // 更新时间 - const updateTime = new Date(result?.timestamp) + const updateTime = new Date(result?.timestamp + (8 * 60 * 60 * 1000)) const updateTimeStr = `更新日期: ${updateTime.getFullYear()}-${updateTime.getMonth() + 1}-${updateTime.getDate()} ${String(updateTime.getHours()).padStart(2, "0")}:${String(updateTime.getMinutes()).padStart(2, "0")}:${String(updateTime.getSeconds()).padStart(2, "0")}` channelsURLM3U.push(`#EXTINF:-1 tvg-id="${channel?.title}" tvg-name="${channel?.title}" tvg-logo="" group-title="${channel?.province}",${updateTimeStr}\n${decryptURL}`) channelsURLTXT.push(`更新日期: ${updateTimeStr},${decryptURL}`) @@ -155,7 +155,7 @@ async function getAllURL() { } } - const updateTime = new Date(result?.timestamp) + const updateTime = new Date(result?.timestamp + (8 * 60 * 60 * 1000)) console.log(`文件日期: ${updateTime.getFullYear()}-${updateTime.getMonth() + 1}-${updateTime.getDate()} ${String(updateTime.getHours()).padStart(2, "0")}:${String(updateTime.getMinutes()).padStart(2, "0")}:${String(updateTime.getSeconds()).padStart(2, "0")}`) }) if (status != 0) {