From ba5d79c9536df025c943b53d7312d92918503675 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 17 Jan 2020 16:37:31 +0000 Subject: [PATCH] fix utils.datetime.iso8601_parse linting error --- src/utils/datetime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/datetime.py b/src/utils/datetime.py index dbed6f02..05ae6fc8 100644 --- a/src/utils/datetime.py +++ b/src/utils/datetime.py @@ -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)