diff --git a/nbclient/jsonutil.py b/nbclient/jsonutil.py index bad0dae..0cd1236 100644 --- a/nbclient/jsonutil.py +++ b/nbclient/jsonutil.py @@ -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