Fix case in strptime string
This commit is contained in:
parent
6f5fc86c8a
commit
5d75545130
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue