Hotfix: chouti pubdate (#1112)

Closes #1111
This commit is contained in:
凉凉 2018-11-11 11:45:26 +08:00 committed by DIYgod
parent cee613d9bb
commit 5ea10a3fc9
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ module.exports = async (ctx) => {
author: item.nick,
description: `${item.title}<br><img src="${item.originalImgUrl}" referrerpolicy="no-referrer" /><br><a href="${host}${item.commentsUrl}">评论</a>`,
link: item.url,
pubDate: new Date(item.createtime).toUTCString(),
pubDate: new Date(item.createtime / 1000).toUTCString(),
}));
ctx.state.data = {