3 ms·
Yeah, dateutil it is cool, but it has a few problems: >>> from dateutil import parser >>> parser.parse('') datetime.datetime(2014, 11, 24, 0, 0) It gets
by eliasdorneles 12y ago
Yeah, dateutil it is cool, but it has a few problems:
>>> from dateutil import parser
>>> parser.parse('')
datetime.datetime(2014, 11, 24, 0, 0)
It gets worse with fuzzy parsing:
>>> parser.parse('something meaningless', fuzzy=True)
datetime.datetime(2014, 11, 24, 0, 0)
- jmsdnns 12y agoI had no idea! Thanks for sharing this.
- pekk 12y agoCan this not be reported as a bug on the project's issue tracker? I don't understand why people trash things in public instead of at least filing a polite issue.
- eliasdorneles 12y agoI don't mean to trash anything, these are known bugs (there are lots of them issued there: https://bugs.launchpad.net/dateutil https://bugs.launchpad.net/dateutil). It seems that dateutil has just not been receiving much love from its developers lately.