← Back to team overview

openstack team mailing list archive

Re: How to let nova use localtime rather than UTC time?

 

On Wed, 2012-06-06 at 21:33 +0800, livemoon 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. 

That is correct.

> Is there any flag in nova.conf to let nova use localtime .

You really don't want to do this.  Trust me.  If you need to see the
time in the local timezone, then convert it; there are tools in python
to do this.
-- 
Kevin L. Mitchell <kevin.mitchell@xxxxxxxxxxxxx>



References