Re: setting TZ is harmful

2017-06-06 Thread Brian Inglis
On 2017-05-09 07:37, Bruno Haible wrote: > Currently, all commands in a Cygwin command window are run with the TZ > environment variable set. > It is set by /etc/profile.d/tzset.sh (or its csh equivalent, > /etc/profile.d/tzset.csh). > Setting TZ is harmful in two ways: > 1) When the user changes

Re: setting TZ is harmful

2017-06-06 Thread Corinna Vinschen
On May 9 15:37, Bruno Haible wrote: > Hi, > > Currently, all commands in a Cygwin command window are run with the TZ > environment variable set. > > It is set by /etc/profile.d/tzset.sh (or its csh equivalent, > /etc/profile.d/tzset.csh). > > Setting TZ is harmful in two ways: > > 1) When th

Re: setting TZ is harmful

2017-05-09 Thread Brian Inglis
On 2017-05-09 08:09, Gluszczak, Glenn wrote: > Ran into issues with TZ in the past too. ActiveState Perl is picky. > I use the PST8PDT format for TZ, but could be other Window programs > that won't accept that. Default rules used for that format in tzcode are those for pre-2007 North America, unt

RE: setting TZ is harmful

2017-05-09 Thread Gluszczak, Glenn
Ran into issues with TZ in the past too. ActiveState Perl is picky. I use the PST8PDT format for TZ, but could be other Window programs that won't accept that. $ TZ="" date Tue, May 9, 2017 2:02:50 PM $ TZ="America/Los_Angeles" date Tue, May 9, 2017 7:01:39 AM $ TZ="PST8PEDT" date Tue, Ma