Comment 1 for bug 1288979

Revision history for this message
Qiang Zhang (strony-zhang) wrote :

Hi Cory, it seems that the same codes about time format below are used in almost each openstack component.

Take the cinder for an example, in cinder/openstack/common/timeutiles.py
# ISO 8601 extended time format with microseconds
_ISO8601_TIME_FORMAT_SUBSECOND = '%Y-%m-%dT%H:%M:%S.%f'
_ISO8601_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S'
PERFECT_TIME_FORMAT = _ISO8601_TIME_FORMAT_SUBSECOND

"| created_at | 2014-03-06T20:37:03.000000 |" is the former.
"| created | 2014-03-06T20:36:55Z |" seems to be the latter.

Do you expect the dates displayed in cinder should be the latter or other format?