From eabe3ff173b69b2b21fe1e2c8a3876d0ff9fef3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=89=E5=87=89?= Date: Mon, 10 Dec 2018 11:23:30 +0800 Subject: [PATCH] Hotfix: laosiji feed pubDate (#1205) Closed #1204 --- routes/laosiji/feed.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/laosiji/feed.js b/routes/laosiji/feed.js index 5462ab705..c42eeb9b1 100644 --- a/routes/laosiji/feed.js +++ b/routes/laosiji/feed.js @@ -1,4 +1,5 @@ const axios = require('../../utils/axios'); +const parseDate = require('../../utils/date'); module.exports = async (ctx) => { const response = await axios({ @@ -16,7 +17,7 @@ module.exports = async (ctx) => { title, link: `http://www.laosiji.com/thread/${resourceid}.html`, description: ``, - pubDate: publishtime, + pubDate: parseDate(publishtime, 8), })), }; };