Fix invalid pubDate (#1425)

根据 https://travis-ci.org/DIYgod/RSSHub/builds/478233072 修正了大部分无效的 pubDate

prprpr
This commit is contained in:
imlonghao
2019-01-17 23:56:26 +08:00
committed by DIYgod
parent c7961a241e
commit 7e43bd2f2c
38 changed files with 75 additions and 60 deletions

View File

@@ -60,7 +60,7 @@ module.exports = async (ctx) => {
title: title,
link: link,
guid: link,
pubDate: pubDate,
pubDate: pubDate.toUTCString(),
description: `<p>${author}</p>${desc}`,
};
return Promise.resolve(single);