Date: Fri, 19 Jan 2007 16:30:20 -0700 From: hal <hl700@cc.usu.edu> To: freebsd-questions@FreeBSD.ORG Subject: Re: Daylight savings time / 6.1 and 4.11 Message-ID: <C2D4EA0D-CDD9-45D9-B119-31396ADBF618@cc.usu.edu> In-Reply-To: <~B45b012c10000.45b035cd0000.0001.mml.1959332346@svmailmel.bytecraft.internal> References: <~B45b012c10000.45b035cd0000.0001.mml.1959332346@svmailmel.bytecraft.internal>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 18, 2007, at Thursday, Jan18, 2007 5:36 PM, Murray Taylor wrote: >> >> This is an issue here at work. We have very many FreeBSD 4.x >> machines and a >> growing number of FreeBSD 6.x. The change when daylight >> saving time starts >> and ends is an issue for machines in the United States and, we think, >> those in Canada. The way to check if your zone file is >> correct is to do >> >> zdump -v /etc/localtime | more >> >> Look for the following >> >> >> /etc/localtime Sun Mar 11 09:59:59 2007 UTC = Sun Mar 11 >> 01:59:59 2007 PST isdst=0 gmtoff=-28800 >> /etc/localtime Sun Mar 11 10:00:00 2007 UTC = Sun Mar 11 >> 03:00:00 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 08:59:59 2007 UTC = Sun Nov 4 >> 01:59:59 2007 PDT isdst=1 gmtoff=-25200 >> /etc/localtime Sun Nov 4 09:00:00 2007 UTC = Sun Nov 4 >> 01:00:00 2007 PST isdst=0 gmtoff=-28800 >> >> If you see this, your zone file will handle the change >> correctly. The 6.x >> series has the corrected zone files. 4.x does not have this. >> The best way >> to handle this is to copy the zone file from >> /usr/share/zoneinfo on a 6.x >> machine to your 4.x. >> >> >> Josef >> Interesting: Just did an upgrade to 6.2-STABLE from 6.1-RELEASE-p10 and here is what I see. uname -r 6.2-STABLE zdump -v -c 2008 MST7MDT MST7MDT Sun Mar 11 08:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 MST isdst=0 gmtoff=-25200 MST7MDT Sun Mar 11 09:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 07:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 MDT isdst=1 gmtoff=-21600 MST7MDT Sun Nov 4 08:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the new MST -> MDT and MDT -> MST dates zdump -v -c 2008 /etc/localtime /etc/localtime Sun Apr 1 08:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 MST isdst=0 gmtoff=-25200 /etc/localtime Sun Apr 1 09:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 07:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 MDT isdst=1 gmtoff=-21600 /etc/localtime Sun Oct 28 08:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 MST isdst=0 gmtoff=-25200 Shows the old MST -> MDT and MDT -> MST dates What did I miss? What do I do next? hal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C2D4EA0D-CDD9-45D9-B119-31396ADBF618>