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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <20110609094631.56364lzi64m7t4d3@messagerie.si.c-s.fr>
Date: Thu, 09 Jun 2011 09:46:31 +0200
From: EXCOFFIER Denis <denis DOT excoffier AT c-s DOT fr>
To: cygwin AT cygwin DOT com
Subject: cygcheck's understanding of TZ
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.3.9)
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

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

Cygwin Configuration Diagnostics
Current System Time: Thu Jun 09 08:07:14 2011
jupiter%


My ideas:
- /usr/bin/cygcheck has an untypical situation wrt cygwin1.dll
- 'Thu Jun 09 08:07:14 2011' gives no clue about time zone
- 'Current System Time: Thu Jun 09 07:07:14 UTC 2011' would be more
   correct

Regards,

Denis Excoffier.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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