We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5108e commit 9e0651bCopy full SHA for 9e0651b
deepl/util.py
@@ -188,9 +188,4 @@ def convert_csv_to_dict(
188
189
190
def parse_timestamp(creation_time: str) -> datetime.datetime:
191
- # Workaround for bugs in strptime() in Python 3.6
192
- if ":" == creation_time[-3:-2]:
193
- creation_time = creation_time[:-3] + creation_time[-2:]
194
- if "Z" == creation_time[-1:]:
195
- creation_time = creation_time[:-1] + "+0000"
196
return datetime.datetime.strptime(creation_time, "%Y-%m-%dT%H:%M:%S.%f%z")
0 commit comments