From 28ead13eb95a8d852b27436733c8272e7f67dea7 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 5 Feb 2025 14:35:02 +0100 Subject: [chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp --- searx/engines/podcastindex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/engines/podcastindex.py') diff --git a/searx/engines/podcastindex.py b/searx/engines/podcastindex.py index d0aa85fb8..9e04a6f78 100644 --- a/searx/engines/podcastindex.py +++ b/searx/engines/podcastindex.py @@ -34,7 +34,7 @@ def response(resp): 'title': result['title'], 'content': result['description'], 'thumbnail': result['image'], - 'publishedDate': datetime.utcfromtimestamp(result['newestItemPubdate']), + 'publishedDate': datetime.fromtimestamp(result['newestItemPubdate']), 'metadata': f"{result['author']}, {result['episodeCount']} episodes", } ) -- cgit v1.2.3