mirror of
https://github.com/searxng/searxng.git
synced 2026-06-04 17:07:17 +02:00
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
This commit is contained in:
@@ -34,7 +34,7 @@ def response(resp):
|
||||
'title': result['title'],
|
||||
'content': result['description'],
|
||||
'thumbnail': result['image'],
|
||||
'publishedDate': datetime.utcfromtimestamp(result['newestItemPubdate']),
|
||||
'publishedDate': datetime.fromtimestamp(result['newestItemPubdate']),
|
||||
'metadata': f"{result['author']}, {result['episodeCount']} episodes",
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user