4 ms·
Python also has dateutil, which can do similar things and has been around a long time: https://pypi.python.org/pypi/python-dateutil https://pypi.python.org/pypi
by jmsdnns 12y ago
Python also has dateutil, which can do similar things and has been around a long time: https://pypi.python.org/pypi/python-dateutil https://pypi.python.org/pypi/python-dateutil
- jeromeparadis 12y agoIf you look at the features section of the GitGub project, it says it is based on dateutil and actually added features on top of it.
- eliasdorneles 12y agoYeah, 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.