[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp

This commit is contained in:
Bnyro 2025-02-05 14:35:02 +01:00 committed by Markus Heiser
parent 9b1f8681a1
commit 28ead13eb9
9 changed files with 10 additions and 10 deletions

View file

@ -38,7 +38,7 @@ def response(resp):
img = 'https://s3.thehackerblog.com/findthatmeme/' + item['image_path']
thumb = 'https://s3.thehackerblog.com/findthatmeme/thumb/' + item.get('thumbnail', '')
date = datetime.strptime(item["updated_at"].split("T")[0], "%Y-%m-%d")
formatted_date = datetime.utcfromtimestamp(date.timestamp())
formatted_date = datetime.fromtimestamp(date.timestamp())
results.append(
{