diff --git a/lib/routes/qdaily/notch/explore.js b/lib/routes/qdaily/notch/explore.js index 09d0f6866..9fb590b40 100644 --- a/lib/routes/qdaily/notch/explore.js +++ b/lib/routes/qdaily/notch/explore.js @@ -50,7 +50,7 @@ module.exports = async (ctx) => { title: post.title, description: await ProcessFeed(data.index_type, item), link: post.share.url, - pubDate: new Date(post.published_at).toUTCString(), + pubDate: new Date(post.published_at * 1000).toUTCString(), author: data.title, }; }) diff --git a/lib/routes/qdaily/notch/index.js b/lib/routes/qdaily/notch/index.js index 443e0cc22..5ea700c8d 100644 --- a/lib/routes/qdaily/notch/index.js +++ b/lib/routes/qdaily/notch/index.js @@ -41,7 +41,7 @@ module.exports = async (ctx) => { title: post.title, description: await ProcessFeed(post.id), link: post.share.url, - pubDate: new Date(post.published_at).toUTCString(), + pubDate: new Date(post.published_at * 1000).toUTCString(), author: post.author_info ? post.author_info.username : '', }; })