Skip to content

Commit

Permalink
avoid deprecation warning for py313 (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascolley authored Nov 29, 2024
1 parent 8514e91 commit e6df584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbclient/jsonutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

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

# -----------------------------------------------------------------------------
# Classes and functions
Expand Down

0 comments on commit e6df584

Please sign in to comment.