fix utils.datetime.iso8601_parse linting error

This commit is contained in:
jesopo 2020-01-17 16:37:31 +00:00
parent 9efe952a9f
commit ba5d79c953

View file

@ -27,7 +27,7 @@ def iso8601_format_now(milliseconds: bool=False) -> str:
return iso8601_format(utcnow(), milliseconds=milliseconds)
def iso8601_parse(s: str) -> _datetime.datetime:
return dateutil.parser.isoparse(s)
return dateutil.parser.parse(s)
def datetime_human(dt: _datetime.datetime):
return _datetime.datetime.strftime(dt, DATETIME_HUMAN)