From 5ea10a3fc976cfe38fe9d70dbfa2d89bdf43c92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=89=E5=87=89?= Date: Sun, 11 Nov 2018 11:45:26 +0800 Subject: [PATCH] Hotfix: chouti pubdate (#1112) Closes #1111 --- routes/chouti/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/chouti/index.js b/routes/chouti/index.js index 28ed5b310..09121a5bd 100644 --- a/routes/chouti/index.js +++ b/routes/chouti/index.js @@ -21,7 +21,7 @@ module.exports = async (ctx) => { author: item.nick, description: `${item.title}

评论`, link: item.url, - pubDate: new Date(item.createtime).toUTCString(), + pubDate: new Date(item.createtime / 1000).toUTCString(), })); ctx.state.data = {