From 5d7554513079cda4dbe80c948cf10e75661f4e1f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 5 May 2022 22:02:52 +0100 Subject: [PATCH] Fix case in strptime string --- handler/lib/money.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/lib/money.py b/handler/lib/money.py index 51914c2..f06596f 100644 --- a/handler/lib/money.py +++ b/handler/lib/money.py @@ -383,7 +383,7 @@ class Money(util.Base): created_at = "+".join(date_split) date_parsed = datetime.strptime(created_at, "%Y-%m-%dT%H:%M:%S%Z") else: - date_parsed = datetime.strptime(created_at, "%Y-%m-%dT%H:%M:%S.%fZ") + date_parsed = datetime.strptime(created_at, "%Y-%m-%dT%H:%M:%S.%fz") date_formatted = date_parsed.strftime("%d-%m-%Y")