[openstack-dev] [all][oslo] Parse ISO8601 (open) time intervals

Kevin L. Mitchell klmitch at mit.edu
Thu Sep 29 17:02:16 UTC 2016


On Thu, 2016-09-29 at 12:07 -0400, Doug Hellmann wrote:
> Excerpts from milanisko k's message of 2016-09-29 09:48:40 +0000:
[snip]
> > > Doug, I'm afraid that dateutil.parser.parse doesn't support intervals
> > either: http://paste.openstack.org/show/583452/
> > Is there any interest in oslo_utils.timeutils parsing ISO8601 time
> > intervals as in [2]?
> > What do OS projects use instead especially w/r http api queries?
> 
> Have you talked with the dateutils maintainers about adding support
> there?  It would still be better to contribute to dateutil than to
> put the function in a library not meant for anyone else outside of
> OpenStack to use.

You might also want to look at the timestring library…
-- 
Kevin L. Mitchell <klmitch at mit.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160929/f8ba7567/attachment.pgp>


More information about the OpenStack-dev mailing list