Inspired by a stackoverflow question, for when you want to know a little more about the datetime strings you are parsing with python-dateutil
pip install sentinel-datetime
>>> from dateutil import parser
>>>
>>> from sentinel_datetime import sentinel
>>>
>>> date = parser.parse("Sep-2nd 11:00:00", default=sentinel())
>>> date.has_day
True
>>> date.has_year
False
>>> date.todatetime()
2021-09-02 11:00:00