mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user