From owner-freebsd-questions Sun Apr 4 3:59:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dart.sr.se (dart.SR.SE [193.12.91.98]) by hub.freebsd.org (Postfix) with ESMTP id 9001215034 for ; Sun, 4 Apr 1999 03:59:30 -0700 (PDT) (envelope-from gunnar@pluto.sr.se) Received: from honken.sr.se ([134.25.128.27]) by dart.sr.se (8.9.3/8.9.3) with ESMTP id MAA18365; Sun, 4 Apr 1999 12:57:24 +0200 (MET DST) Received: from pluto.sr.se (pluto.SR.SE [134.25.193.91]) by honken.sr.se (8.7.5/8.7.3) with ESMTP id MAA21535; Sun, 4 Apr 1999 12:57:23 +0200 (MET DST) Received: (from gunnar@localhost) by pluto.sr.se (8.9.2/8.9.1) id MAA61454; Sun, 4 Apr 1999 12:57:23 +0200 (CEST) (envelope-from gunnar) Message-ID: <19990404125723.A61426@sr.se> Date: Sun, 4 Apr 1999 12:57:23 +0200 From: Gunnar Flygt To: Greg Lehey Cc: FreeBSD Questions Subject: Re: Timezone question Reply-To: flygt@sr.se References: <19990404044642.A60884@sr.se> <19990404132026.T2142@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990404132026.T2142@lemis.com>; from Greg Lehey on Sun, Apr 04, 1999 at 01:20:26PM +0930 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > You can also find the local time anywhere with the TZ environment > variable: > > $ date > Sun Apr 4 13:09:34 CST 1999 > $ TZ=Europe/Stockholm date > Sun Apr 4 05:39:43 CEST 1999 The problem was, that we in Europe changed to summertime the last sunday in March, and for some reason the timezone on that M$-machine was set to CET-2DST but it should have been CET-1DST. I guess the wrong part of the TZ was just dropped by rdate (the machine is running PC-NFS from Solaris, and there is nothing whatsoever in the PC-NFS docs on TZ.) Thanks to all who answered! > $ TZ=America/Chicago date > Sat Apr 3 21:39:54 CST 1999 > $ > > Note the imaginative time zone abbreviations, some of which I think > are just plain wrong. > > > The reason I'm asking is that I have an application that runs on NT (I > > know :-) that for some reason got hickups this night at 02.00. The only > > reason I can see, is that the code maybe somewhere is relating to summer > > time of some other kind than what we've got in Europe. We changed one > > week ago. > > You need to be sure that NT has the correct time zone information. > Windows 95% doesn't for our time zone (South Australia, abbreviated > SA). It thinks that the time change was at the beginning of March, > when in fact it was at the end of March. The version I have also > seems to think that SA reaches all the way to the north of the > continent, eliminating the Northern Territory: it believes that NT > doesn't exist :-) In total it was 2 different troubles I had. One machine, running DOS and PC-NFS, and the other running braindead NT On the first I set the timezone CET-1DST as mentioned above, but the other one running Neanderthal Technology, I had to set the timezone to GMT-2 to get it to understand where it was. (Yes it IS GMT-2 to make it work, although Sweden is GMT+2 hours) I knew I would get answers here, although it didn't have any issue towards FreeBSD, but who thinks I had got ANY answer from M$ ;-) -- __o regards, Gunnar ---_ \<,_ email: flygt@sr.se ---- (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message