Closed
Description
newest version of dateutil brings in a lot of changes in its parser, which breaks:
https://github.com/manahl/arctic/blob/master/arctic/date/_parse.py
from my initial inspection it seems that an agnostic parser is no longer possible. For example:
parse("20111231") will break everytime, because of the check with dayfirst=True:
arctic/date/_parse.py:7: in parse
== _parse(string, dayfirst=True, **kwargs)):
../../../virtualenv/python2.7.9/lib/python2.7/site-packages/dateutil/parser.py:1164: in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
../../../virtualenv/python2.7.9/lib/python2.7/site-packages/dateutil/parser.py:577: in parse
ret = default.replace(**repl)
E ValueError: month must be in 1..12
I'm not sure what the past behavior was, but currently if it cannot parse a date based on the given information it now raises an error
(see these logs for more info: https://travis-ci.org/manahl/arctic/jobs/119019881 )