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

milanisko k vetrisko at gmail.com
Tue Oct 4 11:47:28 UTC 2016


Guys,

thanks for the input!
I've just reported an rfe-issue on dateutils[1]. I'm proposing an
"?finished_at=ISO/ISO" format of time interval for the Inspector[2], let's
see where the reviews are going to get us.

Thanks again!
milan

[1] https://github.com/dateutil/dateutil/issues/295
[2]
https://review.openstack.org/#/c/375045/5/specs/list-introspection-statuses.rst@69

čt 29. 9. 2016 v 19:05 odesílatel Julien Danjou <julien at danjou.info> napsal:

On Tue, Sep 27 2016, milanisko k wrote:

> I'd like to ask whether other projects need to parse time intervals and/or
> how do they achieve that.

We kind of do that in Gnocchi, but we do with 2 fields: one ISO8601
timestamp and a timestamp field, which we parse using pytimeparse, you
(can check gnocchi.utils.to_timespan).

--
Julien Danjou
/* Free Software hacker
   https://julien.danjou.info */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161004/7a3ee5d9/attachment.html>


More information about the OpenStack-dev mailing list