isodate
isodate copied to clipboard
ISO 8601 date/time parser
Would you consider adding more maintainers to this repo, or potentially transferring it to some group where you can add more maintainers?
From https://github.com/gweis/isodate/pull/64: > A `datetime.timedelta(days=1)` is defined as exactly 24 hours, whereas ISO 8601 defines "P1D" as a calendar day, whose exact duration depends on its positioning in a calendar....
Hello, I found that on some value of string , parse_date do not raise an Exception where it should. As i am using it in json hook it is problematique....
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...
I just encountered a bug that was very hard to track down: In a multithreaded environment, `isotime.parse_time()` sometimes fails to parse a valid ISO8601 string of the form `HH:MM+HH:MM`. In...
In [1]: import isodate In [2]: isodate.parse_datetime("04-05-2015T14:32:00Z-09:00") Out[2]: datetime.datetime(401, 1, 1, 14, 32, tzinfo=)
Hi, I just noticed that `isodate.duration_isoformat` does not raise an Exception if invalid inputs are passed, even if the type is wrong. Instead, it returns `'P%P'`. I don't know the...
``` >>> import isodate >>> isodate.parse_duration("P3M").total_seconds() 0.0 ```
The Wikipedia article on ISO 8601 mentions [time intervals](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals), e.g. "2008-02-15/03-14". Is there a facility in `isodate` for parsing these?