Skip to content

Commit b47db6f

Browse files
authored
Avoid a DeprecationWarning on Python 3.13+ (#1248)
1 parent eb10a0d commit b47db6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipykernel/jsonutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# holy crap, strptime is not threadsafe.
2828
# Calling it once at import seems to help.
29-
datetime.strptime("1", "%d")
29+
datetime.strptime("2000-01-01", "%Y-%m-%d")
3030

3131
# -----------------------------------------------------------------------------
3232
# Classes and functions

0 commit comments

Comments
 (0)