mirror of
https://github.com/searxng/searxng.git
synced 2026-05-26 21:00:13 +02:00
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
This commit is contained in:
@@ -51,7 +51,7 @@ def response(resp):
|
||||
|
||||
publishedDate = None
|
||||
if result['extension'].get('publishingDate'):
|
||||
publishedDate = datetime.utcfromtimestamp(result['extension']['publishingDate'])
|
||||
publishedDate = datetime.fromtimestamp(result['extension']['publishingDate'])
|
||||
|
||||
results.append(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user