diff options
| author | Eoghan Glynn <eglynn@redhat.com> | 2012-02-15 16:48:50 +0000 |
|---|---|---|
| committer | Eoghan Glynn <eglynn@redhat.com> | 2012-02-17 20:40:51 +0000 |
| commit | c30193fbf5c0f2e77b09a44803246732c10e211d (patch) | |
| tree | b2639a58da7afb0af8c85b1764fb5b7bf7c4115c /bin/stack | |
| parent | ee541f0a7e447adb000d7a4f5e9f98e2dce33362 (diff) | |
| download | nova-c30193fbf5c0f2e77b09a44803246732c10e211d.tar.gz nova-c30193fbf5c0f2e77b09a44803246732c10e211d.tar.xz nova-c30193fbf5c0f2e77b09a44803246732c10e211d.zip | |
Support non-UTC timestamps in changes-since filter
Fixes nova aspect of lp 837464
Prevously only Zulu time was supported in the changes-since filter,
i.e. timestamps formatted as %Y-%m-%dT%H:%M:%SZ
We now support arbitrary timezones, with the offset from UTC expressed
via the ISO 8601 ±hh:mm notation.
Microsecond accurracy is also optionally supported in timestamps.
Notes:
- nova.utils.parse_isotime(), isotime() & normalized_time() are
prime candidates for promotion to openstack-common, as these
methods were duplicated from my corresponding glance patch:
https://review.openstack.org/#change,4198
- this patch introduces a new dependency on python-iso8601, which
has already been packaged for Fedora, EPEL and Ubuntu/Debian.
Change-Id: I89b45f4f3d910606c578d927420f78cea94f4e3b
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
