mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
This commit is contained in:
parent
9b1f8681a1
commit
28ead13eb9
9 changed files with 10 additions and 10 deletions
|
@ -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(
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue