From 9461e2eb5c50bc47c3b69532f0d5140cd35fadf5 Mon Sep 17 00:00:00 2001 From: hoilc Date: Sun, 7 Jun 2020 22:57:24 +0800 Subject: [PATCH] feat: add sspai activity pubDate (#4931) --- lib/routes/sspai/activity.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/sspai/activity.js b/lib/routes/sspai/activity.js index ea6932749..fd11e3032 100644 --- a/lib/routes/sspai/activity.js +++ b/lib/routes/sspai/activity.js @@ -75,6 +75,7 @@ module.exports = async (ctx) => { title: item_title, description: item_desc, link: item_url, + pubDate: new Date(item.created_at * 1000), }; }), };