[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp

This commit is contained in:
Bnyro 2025-02-05 14:35:02 +01:00 committed by Markus Heiser
parent 9b1f8681a1
commit 28ead13eb9
9 changed files with 10 additions and 10 deletions

View file

@ -128,7 +128,7 @@ def _news_result(result):
'title': result['title'],
'content': result['excerpt'],
'source': result['source'],
'publishedDate': datetime.utcfromtimestamp(result['date']),
'publishedDate': datetime.fromtimestamp(result['date']),
}