Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 10:14:35 +0930
From:      Malcolm Kay <malcolm.kay@internode.on.net>
To:        freebsd-questions@freebsd.org
Cc:        Prakash GP <gouda422@yahoo.com>
Subject:   Re: switch to/from Daylight savings doesn't happen
Message-ID:  <200510261014.36079.malcolm.kay@internode.on.net>
In-Reply-To: <20051025233037.5150.qmail@web36315.mail.mud.yahoo.com>
References:  <20051025233037.5150.qmail@web36315.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Oct 2005 09:00 am, Prakash GP wrote:
> Hi,
>
> FreeBSD 4.5 doesn't seem to auto-switch to/from DST at the
> right time.
>
> ----------%<----------%<----------%<----------%<----------%<--
>--------
>
> # setenv TZ :/usr/share/zoneinfo/America/Los_Angeles
>

It would seem that the use of the TZ environment variable is 
somewhat deprecated.

I suggest you get rid of it, and then use 'tzsetup' to set your 
time zone. This is menu driven -- doesn't require command line 
arguments.

Apart from the choice of UTC or wall time for your CMOS clock,
I believe the equivalent result can be achieved by copying 
/usr/share/zoneinfo/America/Los_Angeles to /etc/localtime.


Malcolm Kay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510261014.36079.malcolm.kay>