Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAF7AF91525F865B6DF4D9302
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

hal wrote:

> 6.2-STABLE
>=20
> zdump -v -c 2008 MST7MDT
>=20
> MST7MDT  Sun Mar 11 08:59:59 2007 UTC =3D Sun Mar 11 01:59:59 2007 MST
> isdst=3D0 gmtoff=3D-25200
> MST7MDT  Sun Mar 11 09:00:00 2007 UTC =3D Sun Mar 11 03:00:00 2007 MDT
> isdst=3D1 gmtoff=3D-21600
> MST7MDT  Sun Nov  4 07:59:59 2007 UTC =3D Sun Nov  4 01:59:59 2007 MDT
> isdst=3D1 gmtoff=3D-21600
> MST7MDT  Sun Nov  4 08:00:00 2007 UTC =3D Sun Nov  4 01:00:00 2007 MST
> isdst=3D0 gmtoff=3D-25200
>=20
> Shows the new MST -> MDT and MDT -> MST dates
>=20
> zdump -v -c 2008 /etc/localtime
>=20
> /etc/localtime  Sun Apr  1 08:59:59 2007 UTC =3D Sun Apr  1 01:59:59 20=
07
> MST isdst=3D0 gmtoff=3D-25200
> /etc/localtime  Sun Apr  1 09:00:00 2007 UTC =3D Sun Apr  1 03:00:00 20=
07
> MDT isdst=3D1 gmtoff=3D-21600
> /etc/localtime  Sun Oct 28 07:59:59 2007 UTC =3D Sun Oct 28 01:59:59 20=
07
> MDT isdst=3D1 gmtoff=3D-21600
> /etc/localtime  Sun Oct 28 08:00:00 2007 UTC =3D Sun Oct 28 01:00:00 20=
07
> MST isdst=3D0 gmtoff=3D-25200
>=20
> Shows the old MST -> MDT and MDT -> MST dates
>=20
> 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


--=20
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW


--------------enigAF7AF91525F865B6DF4D9302
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigAF7AF91525F865B6DF4D9302--



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