From owner-freebsd-questions Sun Apr 4 4:42:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id F060914DA6 for ; Sun, 4 Apr 1999 04:42:51 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id VAA27683; Sun, 4 Apr 1999 21:10:54 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id VAA05334; Sun, 4 Apr 1999 21:10:52 +0930 (CST) Message-ID: <19990404211052.C2142@lemis.com> Date: Sun, 4 Apr 1999 21:10:52 +0930 From: Greg Lehey To: flygt@sr.se, FreeBSD Questions Subject: Re: Timezone question References: <19990404044642.A60884@sr.se> <19990404132026.T2142@lemis.com> <19990404130308.B61426@sr.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990404130308.B61426@sr.se>; from Gunnar Flygt on Sun, Apr 04, 1999 at 01:03:08PM +0200 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sunday, 4 April 1999 at 13:03:08 +0200, Gunnar Flygt wrote: > On Sun, Apr 04, 1999 at 01:20:26PM +0930, Greg Lehey wrote: >> On Sunday, 4 April 1999 at 4:46:42 +0200, Gunnar Flygt wrote: >>> I have a question that has nothing to do with FreeBSD, but anyway. When >>> was the change to summertime in USA? >> >> It will happen today (Sunday) at between 07:00 and 13:00 UTC. You can >> find this information in /usr/src/share/zoneinfo/northamerica: the >> relevant part of the information (which is used to build the zoneinfo >> files installed in /etc/localtime) is: >> >> # Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S >> Rule US 1967 max - Oct lastSun 2:00 0 S >> Rule US 1987 max - Apr Sun>=1 2:00 1:00 D > > How do I read the /etc/localtime file? It seems to be in binary > format. It is. You can read it with hexdump, but, like object files, you're better off reading the source :-) There's a little extra work involved in guessing which source file created which object file, but it's not that difficult. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message