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
|
@ -88,7 +88,7 @@ def response(resp):
|
|||
duration = item["duration"]
|
||||
|
||||
release_date = datetime.strptime(release_time.split("T")[0], "%Y-%m-%d")
|
||||
formatted_date = datetime.utcfromtimestamp(release_date.timestamp())
|
||||
formatted_date = datetime.fromtimestamp(release_date.timestamp())
|
||||
|
||||
url = f"https://odysee.com/{name}:{claim_id}"
|
||||
iframe_url = f"https://odysee.com/$/embed/{name}:{claim_id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue