Complete backwards compatibility with python-dateutil