Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for ISO8601 time interval parsing #295

Open
dparalen opened this issue Oct 4, 2016 · 1 comment
Open

Add support for ISO8601 time interval parsing #295

dparalen opened this issue Oct 4, 2016 · 1 comment

Comments

@dparalen
Copy link

dparalen commented Oct 4, 2016

It would be nice to have the parser return a datetime tuple when parsing ISO intervals

>>> parser.parse('2016-10-04T10:00/2016-10-04T11:15:00')
(datetime.datetime(2016, 10, 4, 10, 00),
 datetime.datetime(2016, 10, 4, 11, 15))
@morrissimo
Copy link

still interest in this - most recently, I've had need to parse a duration-only format (ie,P1Y2M10DT2H30M) back into a relativedelta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Parser refactor and improvement
Uncertain / Undecided
Development

No branches or pull requests

3 participants