forked from Icycoide/searxng
[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
|
@ -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",
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue