delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/03/12:15:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 3 Aug 2001 19:15:00 +0300
Message-Id: <200108031615.TAA24236@linux.>
From: "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il>
To: HRebs AT heyde DOT de
Subject: Re: Timezones
CC: cygwin AT cygwin DOT com
In-reply-to: <992CBEE6DB33D51195E900005A99327C050E67@hddsrv3.heyde-dd.de>
(HRebs AT heyde DOT de)
Organization: Simon & Wiesel Insurance agency
Reply-to: ehud AT unix DOT simonwiesel DOT co DOT il
References: <992CBEE6DB33D51195E900005A99327C050E67 AT hddsrv3 DOT heyde-dd DOT de>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.104)
MIME-Version: 1.0

On Fri, 3 Aug 2001 14:07:31 +0200 , HRebs AT heyde DOT de wrote:
> 
> Hi there!
> 
> I 've installed Cygwin on several machines now.
> On one machine (NT4) Cygwin uses my local time on the next (W2K) I get
> always GMT.
> Did I miss a configuration option during installation??
> 
> How can I convince Cygwin to use always my local time instead of GMT???

You can set the TZ env variable (export TZ=CET-1CED) this will make
your local time Central European with automatic daylight saving time.

If you have access to Linux (or some other UNICes with zic program), you
can compile a tzfile there and then copy it to your Cygwin's
/usr/local/etc/zoneinfo/localtime (read the zic man page).

I compiled zic and tzdump and it works fine in Cygwin too. I'll do my 
best to contribute the timezone package in the next weeks.

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-6212-757 Fax: +972-3-6292-544   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud AT unix DOT simonwiesel DOT co DOT il    http://www.simonwiesel.co.il

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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