From 8ac5ca74c940d1da03e59e870909bd80a22fcdf2 Mon Sep 17 00:00:00 2001 From: XR-Y <62197633+XR-Y@users.noreply.github.com> Date: Thu, 20 Oct 2022 09:28:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20nju=20itsc=20=E6=97=B6=E9=97=B4=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=20(#11119)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/v2/nju/itsc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/v2/nju/itsc.js b/lib/v2/nju/itsc.js index b7980ea2b6..667c23226b 100644 --- a/lib/v2/nju/itsc.js +++ b/lib/v2/nju/itsc.js @@ -30,7 +30,7 @@ module.exports = async (ctx) => { title: item.find('a').attr('title'), description: item.find('a').attr('title'), link: 'https://itsc.nju.edu.cn' + item.find('a').attr('href'), - pubDate: timezone(parseDate(item.find('td').last().text(), 'YYYY-MM-DD'), +8), + pubDate: timezone(parseDate(item.find('.news_meta').text(), 'YYYY-MM-DD'), +8), category: category_dict[0], }; })