This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setting TZ is harmful
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 9 May 2017 09:52:54 -0600
- Subject: Re: setting TZ is harmful
- Authentication-results: sourceware.org; auth=none
- References: <2397524.6dhiyKbjLM@omega> <91DCAC3CB99C724EB365BB64677FBE7B1EF4F3A8@MX204CL04.corp.emc.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
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, until changes coming in the next tzcode release are
incorporated into downstream libraries, when rules will default to
post-2007 North America.
Many libraries, including Cygwin, use their own implementations of
some tzcode functions, so may use different rules, or not pick up
code updates until years later.
Better to set up an /etc/localtime symlink to zoneinfo/.../... for
Cygwin and let Windows programs do their own thing, which may be
neither currently nor historically correct.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple