X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-4.0 required=5.0	tests=AWL,BAYES_40,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Aj4BAJQF8U2cKEcW/2dsb2JhbABTl0qOdHAHrEubL4YjBJYUiwQ
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@niaid.nih.gov>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Thu, 9 Jun 2011 13:44:07 -0400
Subject: RE: cygcheck's understanding of TZ
Message-ID: <0105D5C1E0353146B1B222348B0411A209ED1BF8F2@NIHMLBX02.nih.gov>
References: <20110609094631.56364lzi64m7t4d3@messagerie.si.c-s.fr> <4DF07C22.7050205@towo.net>
In-Reply-To: <4DF07C22.7050205@towo.net>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p59HiRUN000809

Thomas Wolff sent the following at Thursday, June 09, 2011 3:54 AM
>Am 09.06.2011 09:46, schrieb EXCOFFIER Denis:
>>> It seems that /usr/bin/cygcheck does not interpret TZ the same way as
>> /usr/bin/date does, in the case TZ is set to a file name, like in the
>> following example:
>>
>> (under tcsh)
>>
>> jupiter% alias cygdate 'cygcheck -s | head -3'
>> jupiter% (setenv TZ /usr/share/zoneinfo/Europe/Monaco; date; cygdate)
>> Thu Jun  9 09:07:13 CEST 2011
>
>Set TZ to the name of a timezone, not a file name, e.g. (using bash)
>TZ=CET date.

u>Am 09.06.2011 09:46, schrieb EXCOFFIER Denis:

I'm confused.

Using /usr/sbin/tzselect to find TZ ends with the following (questions
have been deleted):

| You can make this change permanent for yourself by appending the line
|         TZ='Europe/Monaco'; export TZ
| to the file '.profile' in your home directory; then log out and log in again.
| 
| Here is that TZ value again, this time on standard output so that you
| can use the /usr/sbin/tzselect command in shell scripts:
| Europe/Monaco

So my question is whether one would really use CEST or the result of
tzseelct.  (Note:  I kept the OP's example of Monaco - I am really
in the U.S.)  And if it is something like CEST, what does one do in
the U.S., where some do not go on Daylight Savings (Summer) Time?

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

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


