Comment 2 for bug 1009410

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-common (master)

Reviewed: https://review.openstack.org/8225
Committed: http://github.com/openstack/openstack-common/commit/e67d7775a7a3347c795a5ff3ed8166f850b8598e
Submitter: Jenkins
Branch: master

commit e67d7775a7a3347c795a5ff3ed8166f850b8598e
Author: Zhongyue Luo <email address hidden>
Date: Wed Jun 6 17:51:07 2012 +0800

    Add nova time util functions to timeutils

    Fixes bug #1009410

    1. Add the following functions from nova/utils.py
    - strtime
    - parse_strtime
    - is_older_than
    - utcnow_ts
    - advance_time_delta
    - advance_time_seconds

    2. Write unittests in tests/unit/test_timeutils.py

    Change-Id: Ie0bba90833e2ed31bb5ab867a7c1a76a9901cacb