Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sat, 29 Sep 2001 19:52:24 +0200
Message-Id: <200109291752.TAA24578@linux.>
From: "Ehud Karni" <ehud@unix.simonwiesel.co.il>
To: "David Starks-Browning" <starksb@ebi.ac.uk>
Subject: Re: Time-setting
CC: cygwin@cygwin.com
In-reply-to: <4200-Sat29Sep2001121006+0100-starksb@ebi.ac.uk> (message from
	David Starks-Browning on Sat, 29 Sep 2001 12:10:05 +0100)
Organization: Mivtach-Simon Insurance agencies
Reply-to: ehud@unix.simonwiesel.co.il
References: <036d01c148c7$0c9a86f0$01000001@lifelesswks>
	<3BB5BCE2.6387.332954D@localhost> <4200-Sat29Sep2001121006+0100-starksb@ebi.ac.uk>
X-Mailer: Emacs 20.7.1 rmail (send-msg 1.105)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-8
Content-Transfer-Encoding: 7bit

On Sat, 29 Sep 2001 12:10:05 +0100, David Starks-Browning <starksb@ebi.ac.uk> wrote:
>
> I don't, on neither Win98 nor NT.  You don't say what system you're
> using.  I am on BST now, which is +0100.
>
> I'd like to understand why date needs TZ for you and not me, before
> trying to explain it in the FAQ.

I don't know about NT (and W2K) but on W98 and W95 you sure need to set
the TZ or have a zic compiled file in /usr/local/etc/zoneinfo/localtime.

I think you don't need it because for you local-time = GMT (ignore the
daylight saving time). To check out the need for the TZ env variable do
the following (both on NT and W98):
    In Windowze go to: Control-Panel > Date/Time > Time Zone  
    Change it to "(GMT -05:00) Eastern Time (US & Canada)"
    In Cygwin (bash) do:
        1. echo $TZ
        2. date
        3. touch FTCK ; ls -al FTCK

I think this will demonstrate the problem (may be only on W98).

Ehud.
       
--
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.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/

