🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.xerox
Article #322

Re: End of DST

#322
From: AISupport.pasa
Date: Tue, 27 Oct 1987 22:31
30 lines
1865 bytes
We have received the following information from development on the
workaround to the DST bug:


You may have noticed the time is a little bit off this week.  It turns
out that Lisp has an off-by-one bug that strikes in non-leap years in
which the month of the Daylight Savings Time change ends on a Saturday.
We're fixing Lisp, but that's not much help for today.  You can get your
clock back on track by pretending that October is a day shorter (for you
Lyric people, do this in an Interlisp exec):

(SETQ \EndDST 304)
(ADVISE '(\NS.SETTIME \PUP.SETTIME) 'AFTER '(SETQ \EndDST 304))

The ADVISE is necessary because the values Lisp gets from the time
server include the DST variable.  If you have a clock displayed on your
screen, you may have to kick the clock process--bring up a PSW from the
background menu, select the clock process, and click RESTART.

This problem will go away on Nov 1, at which time the advice will no
longer be necessary.

I believe the only negative side-effect of the advice is that you will
get the wrong DST indication if you inquire about dates in leap years in
which October ends on a Sunday (but then, you already get the wrong
answer for many years in the past in which DST did not occur, or
occurred at different times of year, since Lisp treats all years like
the present).

(courtesy of Bill vanMelle)
Technical Details
Message-ID: <871027-143250-1636@Xerox>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!XEROX.COM!AISupport.pasa

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!ucbcad!ucbvax!XEROX.COM!AISupport.pasa
From: AISupport.pasa@XEROX.COM
Newsgroups: comp.sys.xerox
Subject: Re: End of DST
Message-ID: <871027-143250-1636@Xerox>
Date: Tue, 27-Oct-87 17:31:00 EST
Article-I.D.: Xerox.871027-143250-1636
Posted: Tue Oct 27 17:31:00 1987
Date-Received: Fri, 30-Oct-87 06:27:38 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 30