fix(route): ifnews wrong pubDate (#7136)

This commit is contained in:
Queensferry
2021-03-11 01:04:25 -05:00
committed by GitHub
parent b113b9fc1f
commit 5113c97a3d
+1 -1
View File
@@ -18,7 +18,7 @@ module.exports = async (ctx) => {
title: item.title,
author: item.createUser,
link: `${url}/news.html?aid=${item.fileID}`,
pubDate: date(item.publishTime),
pubDate: date(item.publishTime, +8),
aid: item.fileID,
}));