Support for short syntax for intervals
Issue #27
closed
Hello and thank you for this nice package.
The following interval, as defined by ISO 8601 should resolve to 2020-01-01/2020-01-02, however:
aniso8601.parse_interval("2020-01-01/02")
(datetime.date(2020, 1, 1), datetime.date(200, 1, 1))
The same behavior is expected for months, hours, etc. Do you plan on implementing it?
Version: 8.1.0 from conda-forge
Comments (2)
-
repo owner -
repo owner - changed status to closed
Supported in 9.0.0 release.
- Log in to comment
I am in the middle of redoing a lot of the parser logic to fix some other issues. I have added some tests to make sure I get this implemented. No ETA, but hopefully “soon” in a 9.0.0 release.
Thanks for bringing this to my attention!