Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 19:21:52 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Martin Karlsson <martin.karlsson@visit.se>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Daylight Saving Time woes (Europe)
Message-ID:  <20020331172151.GA11505@student.uu.se>
In-Reply-To: <20020331163207.GA2020@foo31-146.visit.se>
References:  <20020331163207.GA2020@foo31-146.visit.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020331172151.GA11505>