fix: nju itsc 时间解析 (#11119)

This commit is contained in:
XR-Y 2022-10-20 09:28:22 +08:00 committed by GitHub
parent 7ab28428bb
commit 8ac5ca74c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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],
};
})