diff options
Diffstat (limited to 'searx/engines/hackernews.py')
| -rw-r--r-- | searx/engines/hackernews.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/hackernews.py b/searx/engines/hackernews.py index d3ba47f65..46c8cae8d 100644 --- a/searx/engines/hackernews.py +++ b/searx/engines/hackernews.py @@ -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"]), } ) |