summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2012-02-15 16:48:50 +0000
committerEoghan Glynn <eglynn@redhat.com>2012-02-17 20:40:51 +0000
commitc30193fbf5c0f2e77b09a44803246732c10e211d (patch)
treeb2639a58da7afb0af8c85b1764fb5b7bf7c4115c /tools
parentee541f0a7e447adb000d7a4f5e9f98e2dce33362 (diff)
downloadnova-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 'tools')
-rw-r--r--tools/pip-requires1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pip-requires b/tools/pip-requires
index 2b691ad73..808a95530 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -33,3 +33,4 @@ paramiko
feedparser
pycrypto
Babel>=0.9.6
+iso8601>=0.1.4