*BSD News Article 65440


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!info.ucla.edu!news.cs.ucla.edu!twinsun!not-for-mail
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc,comp.unix.misc
Subject: Re: Daylight Savings Time question
Date: 10 Apr 1996 12:18:08 -0700
Organization: Twin Sun Inc, El Segundo, CA, USA
Lines: 14
Message-ID: <4kh1hg$1mp@shade.twinsun.com>
References: <4kbo2v$8i8@Mars.mcs.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:671 comp.unix.bsd.freebsd.misc:16951 comp.unix.misc:21891

mikebo@MCS.COM (Michael Borowiec) writes:

>I thought I remembered hearing something about the start/stop dates
>for Daylight Savings having changed sometime over the past 15 years.

Yes.  The old (1976-1986) rule was the last Sunday in April.
Starting 1987, it was the first Sunday in April.

>Is there a way to easily fix this.

Replace the localtime/gmtime functions in libc with the source code and
tables available from ftp://elsie.nci.nih.gov/pub/tz*.
That code originally ran under 4.2BSD, and it should still run
(though it probably hasn't been ported to a 4.2BSD host in quite some time!).