Date: Sat, 20 Jan 2007 09:35:52 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: hal <hl700@cc.usu.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Daylight savings time / 6.1 and 4.11 Message-ID: <45B1E278.7000607@infracaninophile.co.uk> In-Reply-To: <C2D4EA0D-CDD9-45D9-B119-31396ADBF618@cc.usu.edu> References: <~B45b012c10000.45b035cd0000.0001.mml.1959332346@svmailmel.bytecraft.internal> <C2D4EA0D-CDD9-45D9-B119-31396ADBF618@cc.usu.edu>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
hal wrote:
> 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?
Your /etc/localtime is probably a copy of the old zoneinfo data, left
over from a previous incarnation. Just copy the updated zoneinfo data
for your local timezone (I'm assuming it is MST7MDT) over it.
cp /usr/share/zoneinfo/MST7MDT /etc/localtime
[You could make /etc/localtime a link or a symlink to the appropriate
file under /usr/share/zoneinfo, but only if /etc and /usr/share/zoneinfo
happen to be on the same filesystem (ie. on the root filesystem), which
is not the case in the default install of FreeBSD]
There is yet another copy of localtime in /var/named/etc/localtime which
you should also update in the came way if you're running named at all.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFseJ+8Mjk52CukIwRCJ8GAJ9kBSyT9yjgWMmhxFyHwIpwkOJGTACeJIXA
lTW22VdbeyWuCg6A5rTEKRk=
=/6Iw
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45B1E278.7000607>
