From a202b5efdde5288f0ba664cb1af81685fac4dfad Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 22 Aug 2023 07:00:00 +0800 Subject: [PATCH] fix #215 --- app/chain/rss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/rss.py b/app/chain/rss.py index 3b1e5bde..7c301926 100644 --- a/app/chain/rss.py +++ b/app/chain/rss.py @@ -185,7 +185,7 @@ class RssChain(ChainBase): enclosure=item.get("enclosure"), page_url=item.get("link"), size=item.get("size"), - pubdate=time.strftime("%Y-%m-%d %H:%M:%S", item.get("pubdate")) if item.get("pubdate") else None, + pubdate=item["pubdate"].strftime("%Y-%m-%d %H:%M:%S") if item.get("pubdate") else None, ) # 过滤种子 if rss_task.filter: