From: John Paul Morrison (jmorriso@rflab.ee.ubc.ca)
Date: 04/01/93


From: jmorriso@rflab.ee.ubc.ca (John Paul Morrison)
Subject: Re: Date command only uses GMT
Date: Thu, 1 Apr 1993 08:50:46 GMT

In article <1pdm69INNsnp@crcnis1.unl.edu> jbettis@cse.unl.edu (Jeremy Bettis) writes:
>I have been unable to get the date command to display the correct timezone.
>I edited the /etc/login.defs file and set the ENV_TZ variable. Now TZ is set
>to CST6CDT like it ought to be but date still prints out GMT, if I change TZ
>while logged in, date still prints GMT. It is local time, but reported as
>GMT. I am running .99pl6 of SLS 7 Mar 93. I have not seen any mention of
>this problem with the date command in the last month in this newsgroup. Now
>I could live with an incorrect timezone on my system, but I don't think that
>USENET news can.

arrrg!! dont use TZ.

you should go into /usr/lib/zoneinfo and make a link from your timezone
to localtime (and posixwhatever....). there's a readme in the directory,
but you probably want to do: ln -sf US/Central localtime
                                        Mountain(?)

then make sure clock -s sets the clock properly at boot time.
use clock -s if your clock is set to localtime, or clock -s -u if your
clock is on GMT. if you use GMT, daylight savings time will get handled
better.

>--
>Jeremy Bettis -*- Jerbo Jehoshaphat -*- University of Nebraska
>INET: jbettis@cse.unl.edu "Those who stand in the middle of the
>UUCP: jerbo@tddi.UUCP are often hit by passing cars."

-- 
__________________________________________________________________________
 John Paul Morrison                     |  
 jmorriso@rflab.ee.ubc.ca        VE7JPM | .sigfile without a cause
 ubc-cs!rflab.ee.ubc.ca!jmorriso        |
________________________________________|_________________________________