isodate icon indicating copy to clipboard operation
isodate copied to clipboard

Negative duration values

Open mvantellingen opened this issue 7 years ago • 1 comments

First of all thanks for this module. I am using it for my soap library (https://github.com/mvantellingen/python-zeep/).

A user reported an issue (https://github.com/mvantellingen/python-zeep/issues/486) that an error occurs with one of the requests he is doing. It turns out that the response is a negative duration value (PT-60S). A quick google turned up some modules (java) which do indeed allow the creation of negative durations. Not sure if it is in the standard or not.

mvantellingen avatar Jul 08 '17 08:07 mvantellingen

There is precedent for supporting this format; see MomentJS: moment/moment#2955. Our mixed Java-Python team would benefit from this as well.

Stephan202 avatar Jul 11 '19 13:07 Stephan202