fix: /sse/disclosure/ pubDate错误 (#5588)

This commit is contained in:
Harvey Qiu 2020-09-06 03:48:26 +08:00 committed by GitHub
parent e4bd753bcb
commit dbb3cd7902
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ module.exports = async (ctx) => {
const single = {
title: item.TITLE,
description: `${host}${item.URL}`,
pubDate: new Date(item.SSEDate).toUTCString(),
pubDate: new Date(item.SSEDATE).toUTCString(),
link: `${host}${item.URL}`,
};
return single;