>>> from dateutil import parser
>>> parser.parse('May 10,2019')
datetime.datetime(2020, 5, 10, 0, 0)
>>> parser.parse('May 10, 2019')
datetime.datetime(2019, 5, 10, 0, 0)
Notice the space or no space after the comma.
It seems to be parsing a two digit year when there is no space after the comma, and a four digit year when there is a space after the comma.
Is this expected?
The versions I have:
$ pip show python-dateutil Name: python-dateutil Version: 2.8.0
$ python3 Python 3.6.9 (default, Apr 18 2020, 01:56:04)