How does nginx get the TimeZone of local system while compile & install?

Sharl.Jimh.Tsin amoiz.shine at gmail.com
Wed Aug 31 02:39:11 UTC 2011


在 2011-08-30二的 19:51 +0400,Maxim Dounin写道:
> 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

Yes,exactly it is CentOS GNU/Linux distro.

and i am so sorry that reply you so later.

-- 
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