Comment 1 for bug 1507735

Revision history for this message
Sebastien CELLES (s-cls) wrote :

see https://pypi.python.org/pypi/iso-8601/0.2.4

Duration time formats of the following forms are also supported:

P1W2DT3H4M5S
Note that support for Year and Month data is not supported, as this does not make sense with python’s timedelta object.

see https://pypi.python.org/pypi/PySO8601/0.1.8
Durations:
Due to the difficult nature of working with calendars, for the moment years specified in the duration format are set to 365 days and months are set to 30 days. This will hopefully be addressed in the near future.

see https://pypi.python.org/pypi/aniso8601/1.0.0
Parse a duration, get a datetime.timedelta