Forum Home
Press F1
 
Thread ID: 82693 2007-09-05 00:09:00 daylight savings patches robsonde (120) Press F1
Post ID Timestamp Content User
587995 2007-09-05 00:09:00 What with my job I have been doing a lot of work on daylight savings patches, so have decided to make my notes free to anyone who needs.


A quick guide to patching your OS for daylight savings.


windows (www.microsoft.com)

for windows XP or vista there is a patch, this will be done by windows update and if you have automatic updates turned on then you wont have to do anything.
some NZ users have seen a daylight savings update come down last week.

this is all fine but what about if you dont run XP or vista.

for win9X, windows ME or windows 2000 you can use a tool called TZEDIT from microsoft.

or you can get a reg hack I made up:
Mirror #1: mirror.erayd.net
Mirror #2: www.imagef1.net.nz
Original host: www.theanswerguy.co.nz/nzdt_update.zip


but what if you dont run windows at all......





SUN solaris unix:
patches are out for solaris 8,9,10
for older version of solaris read the linux section.





HPUX unix:
there is an offical patch form HP but you can edit your own system easly.
the file to edit is /usr/lib/tztab
add a block like this:
# New Zealand Standard Time, New Zealand Daylight Time
#
NZST-12NZDT
0 3 25-31 10 1985-1988 0 NZDT-13
0 3 8 10 1989 0-6 NZDT-13
0 3 1-7 10 1990-2006 0 NZDT-13
0 3 24-30 9 2007-2038 0 NZDT-13
0 1 1-7 3 1985-1989 0 NZST-12
0 1 15-21 3 1990-2007 0 NZST-12
0 1 1-7 4 2008-2038 0 NZST-12



linux and BSD:
a number of linux distro's have a offical patch but you can often roll your own.....

source files can be found on the internet at www.twinsun.com

you will need to find your timezone source files.
try /usr/share/lib/zoneinfo/src/

once you have found the location then update the australasia file and then run it through zic, and reboot system

zic /usr/share/lib/zoneinfo/src/australasia
reboot





apple MAC-OS:
I cant tell you much, I assume that apple have a patch, but apple have used a BSD base and so i expect the the linux instruction may work.
more infomation as it come to hand.



other things to think about


JAVA:
SUN have a timezone updater, look for the 2007f version.

PERL:
perl has timezone stuff and may need patching.

OUTLOOK & OFFICE:
there is also a patch from MS for newest versions of outlook and office.



any appliaction that asks about timezone during install may need looking at.
robsonde (120)
587996 2007-09-05 00:30:00 great post, Stickied :) Jan Birkeland (4741)
587997 2007-09-05 06:51:00 I believe an OS X update 10.4.11 will have the changes. Probably they forgot about 10.3. I have no idea what is happening with apps like Entourage etc. gibler (49)
587998 2007-09-05 09:13:00 Thank God for auto updates then:thumbs: beeswax34 (63)
587999 2007-09-05 09:39:00 What is the big deal with changing the time manually, it will have to be done on VCRs cellphones etc etc anyway. Safari (3993)
588000 2007-09-05 13:27:00 my VCR still left in day light saving time..
..guess I should just leave it for a bit longer
who said you have to always have the right time :p
heni72847 (1166)
588001 2007-09-05 14:27:00 This forum certainly doesn't keep the right time so I guess you're right heni:lol: beeswax34 (63)
588002 2007-09-05 23:33:00 What is the big deal with changing the time manually, it will have to be done on VCRs cellphones etc etc anyway.

a good number of PC's are setup to time-sync from the internet and so change the time may not work, and you will have to change the time twice.
one on sunday 31st and again a week later once your system changes it too :-)
robsonde (120)
588003 2007-09-06 00:46:00 What is the big deal with changing the time manually, it will have to be done on VCRs cellphones etc etc anyway.

Some people don't realise daylight savings time has started (or ended) until they switch on their PCs. :p
FoxyMX (5)
588004 2007-09-07 11:54:00 I have just manualy updated my registry (Win 98se) for daylight saving by following the instructions at:

www.microsoft.com

Daylight start is shown as:
00,00,09,00,00,00,05,00,02,00,00,00,00,00,00,00
and it worked great (ie the clock jumped forward one hour)

Standard start is shown as:
00,00,04,00,00,00,01,00,03,00,00,00,00,00,00,00
but this did not work (ie the clock did not fall back one hour)

I had to modify it as follows to get it working properly.
00,00,04,00,00,00,01,00,02,00,00,00,00,00,00,00

Any one else experience this problem?

zoob
Zoober (12586)
1 2 3 4 5