Comment 1 for bug 1195924

Revision history for this message
yong sheng gong (gongysh) wrote :

My time zone is GMT+8, I am running following in python console to verify it:
>>> from keystoneclient.openstack.common import timeutils
>>> import time
>>> print time.time()
1372461272.58
>>> print timeutils.utcnow().strftime('%s')
1372432495
>>> print time.time(), timeutils.utcnow().strftime('%s')
1372461312.73 1372432512
>>> print (1372461312 - 1372432512)/3600
8