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

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

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
ltime(time);" Tue May 9 15:06:29 2017 $ TZ="PST8PDT" ./perl -e "print scalar localtime(time);" Tue May 9 07:06:47 2017 Glenn Hi, Currently, all commands in a Cygwin command window are run with the TZ environ

setting TZ is harmful

2017-05-09 Thread Bruno Haible
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 the user changes the time zone (through the Windows Control