From owner-freebsd-questions Sun Mar 31 9:22:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailc.telia.com (mailc.telia.com [194.22.190.4]) by hub.freebsd.org (Postfix) with ESMTP id C4BAC37B419 for ; Sun, 31 Mar 2002 09:22:19 -0800 (PST) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailc.telia.com (8.11.6/8.11.6) with ESMTP id g2VHMHv10006 for ; Sun, 31 Mar 2002 19:22:17 +0200 (CEST) Received: from falcon.midgard.homeip.net (h68n2fls20o913.telia.com [212.181.163.68]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id TAA04700 for ; Sun, 31 Mar 2002 19:22:15 +0200 (CEST) Received: (qmail 11630 invoked by uid 1001); 31 Mar 2002 17:21:52 -0000 Date: Sun, 31 Mar 2002 19:21:52 +0200 From: Erik Trulsson To: Martin Karlsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Daylight Saving Time woes (Europe) Message-ID: <20020331172151.GA11505@student.uu.se> Mail-Followup-To: Martin Karlsson , freebsd-questions@FreeBSD.ORG References: <20020331163207.GA2020@foo31-146.visit.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020331163207.GA2020@foo31-146.visit.se> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 06:32:08PM +0200, Martin Karlsson wrote: > Hi all. The night between Saturday 30 March and Sunday 31 March, > Sweden (along with other EU countries?) went into DST. Unfortunately > my FreeBSD box did not. Both of my FreeBSD boxes did change correctly to DST. > > Having searched the archives and read the manpages for 'date' and > 'strftime' ~=100 times, I'll give up and ask here. How do I fix > this? > Those utilities don't have much to do with it. > I cvsup'd my sources, went to /usr/src/share/zoneinfo and ran 'make > all install', thinking that would fix it. It didn't. > > Having manually set the time one hour forward, the %Z option > to 'date' still gives +0200 when it should infact be +0100. > > I'd appreciate some help on this one. My guess is that you don't have the timezone specified correctly. The normal way is to have the hardware clock run at UTC and let the system adjust for timezone when appropriate. The easiest way to set up the correct timezone is with tzsetup(8). The correct timezone for Sweden right now is 'CEST'. If your hardware clock is running at local time, which might be the case for a dual boot machine where the other OS expects localtime, you need to run adjkerntz(8) also. The manpages for tzsetup(8) and adjkerntz(8) might be useful to read. -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message