diff options
| author | Bnyro <bnyro@tutanota.com> | 2025-02-05 14:35:02 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-02-07 17:19:00 +0100 |
| commit | 28ead13eb95a8d852b27436733c8272e7f67dea7 (patch) | |
| tree | ad7cbc67dcf6c5ef156df560217afdf5c96e1b3a /searx/engines/findthatmeme.py | |
| parent | 9b1f8681a12b411f64620d8d15fcfc49a67b365f (diff) | |
[chore] engines: replace datetime.utcfromtimestamp with datetime.fromtimestamp
Diffstat (limited to 'searx/engines/findthatmeme.py')
| -rw-r--r-- | searx/engines/findthatmeme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/findthatmeme.py b/searx/engines/findthatmeme.py index 2e7b21611..446bd47f8 100644 --- a/searx/engines/findthatmeme.py +++ b/searx/engines/findthatmeme.py @@ -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( { |