delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/29/18:11:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <4068ACED.2090706@dragonstrider.com>
Date: Mon, 29 Mar 2004 18:10:37 -0500
From: Joseph Tate <jtate AT dragonstrider DOT com>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
MIME-Version: 1.0
To: Cygwin AT cygwin DOT com
Subject: timezone irregularity when Windows TZ is set to Indiana
X-IsSubscribed: yes

If I have a Windows PC with the timezone set to 
"(GMT-05:00)Indiana(East)", date +%Z returns the timezone as "USEST". 
Is this designed or broken behavior?

If I set TZ to USEST date returns a GMT time.  I've noticed that there 
is no zoneinfo package, but if I copy /usr/share/zoneinfo from a RHL 
system, and set the TZ env variable to 'America/Indianapolis' I get back 
EST as the timezone.

Where does the "USEST" come from?  Is that a Windows-ism or something in 
Cygwin?

I'm using cygwin 1.5.7-1 on Windows XP SP 1 with all updates supplied.

Joseph

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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