|
Posted by Unruh on 02/17/07 02:12
RaMRod <idont@think.so> writes:
>sugapablo wrote:
>> With the coming changes to daylight savings time in March 2007, what
>> are my options in correcting the current calculation on this machine?
>Ahem, use ntp to synchronize your PC clock, perhaps ? Or is Mdk 9.2 not
>aware of such wonders of technology ? Even dumb Windblows knows to
>update time in accordance with the local DST policy.
>--
Useless advice. ntp has nothing to do with DST. It will make sure that your
system clock is accurate to a few milliseconds but that is in UTC
(Universal Time Coordinate) which never suffers from DST. To translate from
that to your local time, you use the file /etc/localtime or the file
pointed to in zoneinfo by the TZ environment variable.
It has been posted here many times.
Get the file
tzdata2007a.tar.gz
from many places on the web
Go to the directory where you downloaded it
tar -xzf tzdata2007a.tar.gz
zic northamerica
rm /etc/localtime
cp /usr/share/zoneinfo/America/Vancouver /etc/localtime
(or if you are unfortunate enough not to live in Vancouver, use the nearest
large city with the same timezone as you have)
That is it.
If you have a program which runs continuously and needs the correct local
time, restart that program. Otherwise sit back and enjoy
Navigation:
[Reply to this message]
|