chore(cleanup): Drop stuff for unsupported python versions
This commit is contained in:
parent
239faac7dd
commit
d8192679e5
|
@ -1,10 +1,4 @@
|
||||||
import datetime
|
import datetime
|
||||||
import sys
|
|
||||||
|
|
||||||
if sys.version_info < (3, 7):
|
|
||||||
from backports.datetime_fromisoformat import MonkeyPatch
|
|
||||||
|
|
||||||
MonkeyPatch.patch_fromisoformat()
|
|
||||||
|
|
||||||
|
|
||||||
def from_iso_format(date_str):
|
def from_iso_format(date_str):
|
||||||
|
|
Loading…
Reference in New Issue