Hello!
On Tue, Aug 30, 2011 at 08:29:56PM +0800, Sharl.Jimh.Tsin wrote:
[...]
> and to define it in nginx.conf file via "env" probably not work at all,i
> tried it before.for example "env TZ=Asia/Shanghai".
Which OS do you use, Linux? This works perfectly on FreeBSD, but
it looks like not on Linux as it doesn't check updated TZ
environment on localtime_r() calls and requires explicit tzset().
I'll take a more closer look as time permits.
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx