From 18596a3d2b750533e2aba8ada630e6d687ac636b Mon Sep 17 00:00:00 2001 From: mukelongji <54195094+Coxwtwo@users.noreply.github.com> Date: Tue, 19 Aug 2025 22:11:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(route/mihoyo/sr):=20=E4=BD=BF=E7=94=A8=20ti?= =?UTF-8?q?mezone=20=E6=8C=87=E5=AE=9A=E6=AD=A3=E7=A1=AE=E6=97=B6=E5=8C=BA?= =?UTF-8?q?=20(#19863)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/mihoyo/sr/news.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/routes/mihoyo/sr/news.ts b/lib/routes/mihoyo/sr/news.ts index 4cba9a945..b187e57aa 100644 --- a/lib/routes/mihoyo/sr/news.ts +++ b/lib/routes/mihoyo/sr/news.ts @@ -1,6 +1,7 @@ import { Route } from '@/types'; import got from '@/utils/got'; import { parseDate } from '@/utils/parse-date'; +import timezone from '@/utils/timezone'; const categories = { 'zh-cn': { @@ -88,7 +89,7 @@ async function handler(ctx) { title: item.sTitle, description: item.sContent, link: `${categories[location].link}/${item.iInfoId}`, - pubDate: parseDate(item.dtStartTime), + pubDate: timezone(parseDate(item.dtStartTime), +8), category: item.sCategoryName, }));