fix: chouti pubDate
This commit is contained in:
parent
42af2de20f
commit
5e37616bad
|
|
@ -23,7 +23,7 @@ module.exports = async (ctx) => {
|
|||
author: item.nick,
|
||||
description: `${item.title}<br><img src="${item.originalImgUrl || item.imgUrl || item.original_img_url || item.img_url}" /><br><a href="${host}/link/${item.id}">评论</a>`,
|
||||
link: item.url,
|
||||
pubDate: new Date(item.createdTime / 1000).toUTCString(),
|
||||
pubDate: new Date(item.created_time / 1000).toUTCString(),
|
||||
}));
|
||||
|
||||
ctx.state.data = {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ module.exports = async (ctx) => {
|
|||
author: item.nick,
|
||||
description: `${item.title}<br><img src="${item.originalImgUrl || item.imgUrl || item.original_img_url || item.img_url}" /><br><a href="https://dig.chouti.com/link/${item.id}">评论</a>`,
|
||||
link: item.url,
|
||||
pubDate: new Date(item.createdTime / 1000).toUTCString(),
|
||||
pubDate: new Date(item.created_time / 1000).toUTCString(),
|
||||
}));
|
||||
|
||||
ctx.state.data = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue