summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-06-04 14:43:16 -0700
committerDan Smith <danms@us.ibm.com>2013-06-05 12:46:31 -0700
commit414e1457632b5eea82274ad8694d2b324d4e200e (patch)
tree962d1539a6ede565475f0beaafdb1e449069b852 /nova/utils.py
parent5d9cb7dd354dc1a1eae9985521c0f4b2ea4d876e (diff)
downloadnova-414e1457632b5eea82274ad8694d2b324d4e200e.tar.gz
nova-414e1457632b5eea82274ad8694d2b324d4e200e.tar.xz
nova-414e1457632b5eea82274ad8694d2b324d4e200e.zip
Make the datetime utility function coerce to UTC
Getting datetime objects from existing sources (i.e. sqlalchemy) is problematic because they're "timezone naive". Make the utility function coerce these to UTC for easier conversion. Related to blueprint unified-object-model Change-Id: I61bc6b13f9bd9441d64cc6930e43e921af72a342
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions