Skip to content

Commit

Permalink
use simpler isoparse from dateutil to parse ISO8601 timestamps
Browse files Browse the repository at this point in the history
avoids more complex behavior of general parser, which we don't need
since we are already specifying the general format spec
  • Loading branch information
minrk committed Sep 17, 2024
1 parent 2ba2902 commit c97a2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_client/jsonutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from datetime import datetime
from typing import Any, Optional, Union

from dateutil.parser import parse as _dateutil_parse
from dateutil.parser import isoparse as _dateutil_parse
from dateutil.tz import tzlocal

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

0 comments on commit c97a2d6

Please sign in to comment.