Question about the timezone

Sharl.Jimh.Tsin amoiz.shine at gmail.com
Sat Aug 13 14:28:15 UTC 2011


hi,everyone:
     i have a question about the System TimeZone,i have a Server with 
CentOS 5,its previous timezone is UTC timezone,and nginx use it as 
default timezone.
now today i changed the timezone to CST(+8) of Asia/Shanghai by modify 
the /etc/localtime file and the tzselect command.beside that,i also 
export the TZ var as "Asia/Shanghai".

but,after i restarted the nginx,i found that nginx still use the OLD UTC 
timezone.

even,i define the timezone at nginx.conf with "env TZ=Asia/Shanghai",but 
no work.

Why?Can someone help me?Thanks~

-- 
Best regards,
Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*)

Using Gmail? Please read this important notice: http://www.fsf.org/campaigns/jstrap/gmail?10073.



More information about the nginx mailing list