I have the following string input : 24052017. When I try to do:
>>>dateutil.parser.parse("24052017")
It tells me that month must be in 1..12.
I have even tried doing:
>>>dateutil.parser.parse("24052017", firstday=True)
It gives me exactly th same outcome.
What seems to happening is that it does not like the fact that there are no spaces or separators. it reads the day correctly, but when it comes to the month it reads 0520. This is what I suspect, at least.
How to I convert this specific input using dateutil.parser, without manipulating the string?