Sharl.Jimh.Tsin
August 13, 2011 10:30AM
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.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Question about the timezone

Sharl.Jimh.Tsin August 13, 2011 10:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready