delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/09/03:54:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4DF07C22.7050205@towo.net>
Date: Thu, 09 Jun 2011 09:54:10 +0200
From: Thomas Wolff <towo AT towo DOT net>
Reply-To: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygcheck's understanding of TZ
References: <20110609094631 DOT 56364lzi64m7t4d3 AT messagerie DOT si DOT c-s DOT fr>
In-Reply-To: <20110609094631.56364lzi64m7t4d3@messagerie.si.c-s.fr>
X-TagToolbar-Keys: D20110609095410765
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Am 09.06.2011 09:46, schrieb EXCOFFIER Denis:
> Hello,
>
> 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.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019