mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 13:19:17 +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
|
@ -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']),
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue