[issue26460] datetime.strptime without a year fails on Feb 29
Gerard C Weatherby
report at bugs.python.org
Tue Mar 3 08:17:39 EST 2020
Gerard C Weatherby <gerardw at alum.mit.edu> added the comment:
Yes, code that has been working for my organization the past two years just broke this weekend.
Meaning depends on context. The straightforward solution is that if no year is specified, the return value should default to the current year.
----------
nosy: +gerardw at alum.mit.edu
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26460>
_______________________________________
More information about the Python-bugs-list
mailing list