mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
rss: fix twitter user pubDate
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = async (ctx) => {
|
||||
item: data.map((item) => ({
|
||||
title: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.text.length > 30 ? item.text.slice(0, 30) + '...' : item.text}`,
|
||||
description: `${item.in_reply_to_screen_name ? 'Re ' : ''}${item.text}`,
|
||||
pubDate: new Date(item.createdTime).toUTCString(),
|
||||
pubDate: new Date(item.created_at).toUTCString(),
|
||||
link: `https://twitter.com/${id}/status/${item.id_str}`,
|
||||
})),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user