mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
This commit is contained in:
@@ -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']),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user