From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11805 invoked by alias); 9 Jun 2011 17:44:24 -0000 Received: (qmail 11797 invoked by uid 22791); 9 Jun 2011 17:44:23 -0000 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 Received: from nihxwayout.hub.nih.gov (HELO nihxwayout.hub.nih.gov) (128.231.90.109) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Jun 2011 17:44:09 +0000 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj4BAJQF8U2cKEcW/2dsb2JhbABTl0qOdHAHrEubL4YjBJYUiwQ Received: from unknown (HELO NIHHT03.nih.gov) ([156.40.71.22]) by nihxwayout.hub.nih.gov with ESMTP; 09 Jun 2011 13:44:09 -0400 Received: from NIHMLBX02.nih.gov ([156.40.71.32]) by NIHHT03.nih.gov ([156.40.71.22]) with mapi; Thu, 9 Jun 2011 13:44:09 -0400 From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin@cygwin.com" Date: Thu, 09 Jun 2011 17:44:00 -0000 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" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-06/txt/msg00087.txt.bz2 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=3DCET 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=3D'Europe/Monaco'; export TZ | to the file '.profile' in your home directory; then log out and log in ag= ain. |=20 | 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