X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0	tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Cc: Denis Excoffier <Denis.Excoffier@free.fr>
Message-Id: <4E1EF031-A2E0-4238-BD23-5089E2D7670F@free.fr>
From: Denis Excoffier <3.1416@free.fr>
To: cygwin@cygwin.com
In-Reply-To: <20110609210632.GA1457@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Subject: Re: cygcheck's understanding of TZ
Date: Fri, 10 Jun 2011 09:24:45 +0200
References: <20110609094631.56364lzi64m7t4d3@messagerie.si.c-s.fr> <BANLkTinwkd50q5JdugNRO8wfQrJ00syD+w@mail.gmail.com> <4DF10C13.3040208@cwilson.fastmail.fm> <BANLkTinBqCHvyRpgXpHcXD54ycPuGhrMcg@mail.gmail.com> <811AA35F-E300-46E5-9FE3-EE7D5E58194B@free.fr> <20110609210632.GA1457@ednor.casa.cgf.cx>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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


On 2011-06-09 23:06, Christopher Faylor wrote:

> We're not changing anything.  Having the date there is useful.

I (OP) need to use TZ=Europe/Monaco (or similar, or
with an absolute name) to make my applications work,
including date(1).

Currently the `Current System Time' line is:
- incorrect at least in my (legitimate) use of TZ,
- not fully adequate for reference purposes since
   it does not specify the time zone.

It therefore deserves improvement.

But since it seems difficult to make it correct due
to specific constraints (windows program), feel free
not to modify it. Users like me will have to
'export TZ=UTC' before 'cygcheck -s'. Not difficult.

Or change cygcheck's specification for the better: use
UTC date instead, since printing UTC date does not
depend/rely on TZ:
Current System Time (UTC): Thu Jun 09 07:07:14 2011

> Again: you shouldn't use "cygcheck -s" as a method to find the system
> date.
Sorry, next time i'll use 'alias foobar' instead of 'alias cygdate'.


Regards,

Denis Excoffier.




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

