Skip to content

Commit 7716291

Browse files
authored
use simpler isoparse from dateutil to parse ISO8601 timestamps (#1032)
avoids more complex behavior of general parser, which we don't need since we are already specifying the general format spec
1 parent 0ad3405 commit 7716291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_client/jsonutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from datetime import datetime
1212
from typing import Any, Optional, Union
1313

14-
from dateutil.parser import parse as _dateutil_parse
14+
from dateutil.parser import isoparse as _dateutil_parse
1515
from dateutil.tz import tzlocal
1616

1717
next_attr_name = "__next__" # Not sure what downstream library uses this, but left it to be safe

0 commit comments

Comments
 (0)