Skip to content

Commit e6df584

Browse files
authored
avoid deprecation warning for py313 (#320)
1 parent 8514e91 commit e6df584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbclient/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)