From owner-freebsd-questions Sun Mar 31 13:43:51 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 3461F37B416 for ; Sun, 31 Mar 2002 13:43:47 -0800 (PST) Received: (from jonc@localhost) by chen.org.nz (8.11.6/8.11.6) id g2VLhY234983; Mon, 1 Apr 2002 09:43:34 +1200 (NZST) (envelope-from jonc) Date: Mon, 1 Apr 2002 09:43:34 +1200 From: Jonathan Chen To: Martin Karlsson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Daylight Saving Time woes (Europe) Message-ID: <20020401094334.A34689@grimoire.chen.org.nz> References: <20020331163207.GA2020@foo31-146.visit.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020331163207.GA2020@foo31-146.visit.se>; from martin.karlsson@visit.se on Sun, Mar 31, 2002 at 06:32:08PM +0200 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. > > 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? > > I cvsup'd my sources, went to /usr/src/share/zoneinfo and ran 'make > all install', thinking that would fix it. It didn't. Run tzsetup(8) to pick up the correct zonefile. Alternatively, if you know which zone file to use, you can copy it fron /usr/src/share/zoneinfo and to /etc/localtime. For all our servers here, I also prefer to have the hardware clocks keep UTC. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message