*BSD News Article 7047


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!kithrup!sef
From: sef@kithrup.COM (Sean Eric Fagan)
Subject: Re: time is wrong
Organization: Kithrup Enterprises, Ltd.
Date: Mon, 26 Oct 1992 02:16:21 GMT
Message-ID: <1992Oct26.021621.1342@kithrup.COM>
References: <ui88sB2w165w@tsoft.sf-bay.org>
Lines: 35

In article <ui88sB2w165w@tsoft.sf-bay.org> bbs.barfeau@tsoft.sf-bay.org (David Fox) writes:
>when PST officially started, I reset the bios time to PST, and booted
>386bsd up... and now it's 11 HOURS behind PST, and gives timezone as
>"PPET" whatever that is...

/etc/localtime is a symlink to /usr/share/zoneinfo/US/Pacific-new; make it a
symlink to .../Pacific, and all will be well.

It took us a while to figure this one out :).  The Pacific-new thing deals
with (or, rather, tries to deal with) the (still proposed, as far as I know)
bogosity of changing the time on the west coast up an hour on the day of the
election, to make it easier for people to vote without hearing about the
returns on the east coast, or something really silly like that.

The timezone file doesn't seem to do what is wanted, though; it should be
PST until the first tuesday after the first monday in november, at which
point it should be PPET (Pacific Presidential Election Time), until that day
is over, when it should go back to PST.  At least, that's how I understand
the concept behind it.

You can also do (from csh):

	setenv TZ PST8PDT

although that won't affect the system processes.

The source to the timezone files are in /usr/othersrc/share/zoneinfo/datfiles;
pacificnew is the bogus one, and northamerica is the one that has the
correct information.

-- 
Sean Eric Fagan  | "Time and space is a bitch!"
sef@kithrup.COM  |    -- Gooshie (Dennis Wolfberg),
-----------------+       "Quantum Leap:  Killin' Time"
Any opinions expressed are my own, and generally unpopular with others.