mirror of
https://github.com/searxng/searxng.git
synced 2025-07-12 15:59:21 +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
|
@ -87,7 +87,7 @@ def response(resp):
|
|||
"content": hit.get("url") or hit.get("comment_text") or hit.get("story_text") or "",
|
||||
"metadata": metadata,
|
||||
"author": hit["author"],
|
||||
"publishedDate": datetime.utcfromtimestamp(hit["created_at_i"]),
|
||||
"publishedDate": datetime.fromtimestamp(hit["created_at_i"]),
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue