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

This commit is contained in:
Queensferry 2021-03-11 14:04:25 +08:00 committed by GitHub
parent b113b9fc1f
commit 5113c97a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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,
}));