Traceback (most recent call last):
File "\PyCel\venv\lib\site-packages\pycel\excellib.py", line 190, in date
year, month, day = normalize_year(year, month, day)
File "\PyCel\venv\lib\site-packages\pycel\excelutil.py", line 913, in normalize_year
days_in_month = get_max_days_in_month(m, y)
File "\PyCel\venv\lib\site-packages\pycel\excelutil.py", line 892, in get_max_days_in_month
return calendar.monthrange(year, month)[1]
File "\bin\python3.7\lib\calendar.py", line 124, in monthrange
raise IllegalMonthError(month)
calendar.IllegalMonthError: bad month number 0; must be 1-12
https://github.com/dgorissen/pycel/blob/2c4d19826ccd84cb879c908831ee1ef948bb35a4/src/pycel/excelutil.py#L990
Traceback (most recent call last): File "\PyCel\venv\lib\site-packages\pycel\excellib.py", line 190, in date year, month, day = normalize_year(year, month, day) File "\PyCel\venv\lib\site-packages\pycel\excelutil.py", line 913, in normalize_year days_in_month = get_max_days_in_month(m, y) File "\PyCel\venv\lib\site-packages\pycel\excelutil.py", line 892, in get_max_days_in_month return calendar.monthrange(year, month)[1] File "\bin\python3.7\lib\calendar.py", line 124, in monthrange raise IllegalMonthError(month) calendar.IllegalMonthError: bad month number 0; must be 1-12