parent
b52be1cf99
commit
f218807ed7
|
|
@ -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,
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -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 : '',
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue