added 4 commits
July 8, 2023 01:49These are encoded to ISO8601 duration strings. Only `'D'`, `'H'`, `'M'`, and `'S'` units are supported (no relative units like `Y` or `M` (month)).
If `strict=False` we also support decoding int/float values (or str representations of these values) to `timedelta` types. Note that a `double` cannot represent a timedelta with microsecond precision if the value is > ~270 years. For true roundtrip support we recommend serializing timedeltas as ISO 8601 strings.
jcrist
changed the title
[WIP]
datetime.timedelta Supportdatetime.timedelta Support
jcrist deleted the parse-iso8601-duration branch
July 11, 2023 02:24Closed