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

This commit is contained in:
Harvey Qiu
2020-09-05 20:48:26 +01:00
committed by GitHub
parent e4bd753bcb
commit dbb3cd7902
+1 -1
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;