May-06-2020, 09:02 AM
(May-05-2020, 05:51 PM)Skaperen Wrote:Got this error since your string has 'may' not part of date>>> from dateutil.parser import parse >>> parse('my birthday may be on 12 october 1968',fuzzy=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/dateutil/parser.py", line 1182, in parse return DEFAULTPARSER.parse(timestr, **kwargs) File "/usr/lib/python3/dist-packages/dateutil/parser.py", line 559, in parse raise ValueError("Unknown string format") ValueError: Unknown string format >>>