mirror of
https://github.com/searxng/searxng.git
synced 2026-07-27 02:11:23 +00: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