On Wed, Jun 06, 2012, livemoon <mwjpi...@gmail.com> wrote:
> I found nova use "utcnow" to get time and write it to db.
> So the create_time of vm also show utc time rather than localtime.

You really don't want to do this. For instance, the database won't store
the timezone, so in places where there is daylight savings time,
timestamps can be ambiguous.

As a best practice, the database should store in UTC and then tools
should convert to a local timezone for convenience.

JE


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to