Operating System - HP-UX
1819953 Members
3365 Online
109607 Solutions
New Discussion юеВ

New Zealand Daylight Saving Time changes for September 2007

 
SOLVED
Go to solution
Alex Jenner
Advisor

New Zealand Daylight Saving Time changes for September 2007

Beginning 30 September this year, New Zealand will have three weeks more daylight saving. Clocks will go forward an hour a week earlier than usual - on the last Sunday in September- and back an hour on the first Sunday in April, instead of the third Sunday in March.

Refer following links for details.

http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Daylight-Saving-Daylight-saving-to-be-extended
http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Daylight-Saving-Index

In HP-UX 11.0 and 11.11, the rules for daylight saving are defined in /usr/lib/tztab, so I believe the following definitions are needed for New Zealand.

# 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 2 1-7 3 1985-1989 0 NZST-12
0 2 15-21 3 1990-2007 0 NZST-12
0 2 1-7 4 2008-2038 0 NZST-12

---

My questions:

1. Has anyone in New Zealand made these modifications and verified them by rolling the clock forward to 30 September, 2007 (and April 2008)?

2. Based on experience with Daylight Saving changes in other parts of the world, are there any other things on HP-UX systems that need changing - e.g. Timezone definitions in Java, Oracle and other products?
32 REPLIES 32
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>2. ... are there any other things on HP-UX systems that need changing - e.g. Timezone definitions in Java,

Yes, these needed changing for Y2K7.

I don't see any notes about your change on HP's official DST page:
http://www.hp.com/go/dst/

If/when you talk to HP, tell them it should have info there.
Alex Jenner
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks Dennis, I've contacted HP about an official patch for HP-UX and it appears that they are aware of the situation.

Regarding:
http://www.hp.com/go/dst/

That one really only seems to be for North America, as Australia has also changed and there is no mention of Australia or New Zealand on that page.

Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>That one really only seems to be for North America

Hmm, I thought it was for all DST related issues. You could suggest HP add your New Zealand issue there.

At least it points off to Java, etc.

> 1. Has anyone in New Zealand made these modifications and verified them by rolling the clock

You don't need to move your clock if you use Clay's perl script in this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1095131
Srimalik
Valued Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

In addition to the tztab patch of HPUX and java patches the following may also need be patched

- oracle ( applicable only in certain scenarios)
- aCC runtime libs ( I know that the rogue wave libs do custom handling of timezones, they need to be updated)
abandon all hope, ye who enter here..
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>Srikrishan: aC++ runtime libs (I know that the rogue wave ...

No, they don't support any country outside of the US and a few European countries.

So don't use RWZone. Use libc's ctime(3).
Srimalik
Valued Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks, I am learning a lot from these forums :)
abandon all hope, ye who enter here..
Jim Walls
Trusted Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

I believe HP are releasing the following updated timezone patches on 17 August 2007.

PATCHNAME: PHCO_36823: 11.11
PATCHNAME: PHCO_36824: 11.23
PATCHNAME: PHCO_36825: 11.31

Regards
Jim
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>Jim: I believe HP are releasing the following updated timezone patches

These are the patches I mentioned in another thread about New Zealand:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1146967
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007


Hi Alex,

I have checked the JaG info, this patch should be released by Sept 30. 2007.

The defect will be fixed by patches
PATCHNAME: PHCO_36823: 11.11
PATCHNAME: PHCO_36824: 11.23
PATCHNAME: PHCO_36825: 11.31

in the respective versions.

Fix: tztab(4) has been modified to support New Zealand DST changes.
Problem never ends, you must know how to fix it
kate32
Frequent Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Hi,

did you find the patch for 11.00 ? I still can;t find it on the Patch database.
the tztab(4) cumulative patch doesn't contain the new timezone for New Zealand.
Thanks in advance, if someone can find it...

cheers
K.
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007



Hi Kate,

11.00 is already end of support. I doubt the lab will release the patch for 11.00 tztab,

check this out this link, this may be a workaround.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00878684-1


WK
Problem never ends, you must know how to fix it
Alex Jenner
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks for replies...

Dennis - thanks for the link to Clay's dst.pl script. Very useful - works for me on HP-UX, Linux and Windows (as long as perl installed).

Jim and whiteknight - thanks for the patch info. But I wonder what the true release date will be?

Kate - I suspect that HP-UX 11.0 is considered to be out of support and you have to apply the manual patch.

Offtopic: for those that also look after Windows servers, it might pay to download the KB933360 timezone update for Windows.
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>did you find the patch for 11.00?

As whiteknight and Alex says, there won't be a patch for obsoleted OS versions. You will have to install the patch manually.

>Alex: But I wonder what the true release date will be?

Are you worried it might be out sooner? ;-)
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007


Alex,

I checked it is scheduled to release on 3rd week of August.

WK
Problem never ends, you must know how to fix it
brandon_61
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Thanks for your post Lex
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007


Alex,

Please assign the points to us..

TQ
Problem never ends, you must know how to fix it
Alex Jenner
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

> Dennis: Are you worried it might be out sooner?

No, I'm just lazy... so I don't want to implement a manual patch to tztab, if I can wait a few weeks and install PHCO_36823.

> whiteknight: I checked it is scheduled to release on 3rd week of August.

Thanks again.

> Brandon: Thanks for your post

No problem... hope the answers are useful to you too.

> whiteknight: Please assign the points to us

I'm assigning points now, but probably won't assign any more, until the patch is released and I've had a chance to install it on one system and test.
Alex Jenner
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

PHCO_36823 is now available and I've installed it on one system. This was tested with the dst.pl script and the definitions for the new September 2007 daylight savings change appears to be correct.

8-10 points will be allocated to the first person to explain why this is not the end of this thread.
brandon_61
Advisor
Solution

Re: New Zealand Daylight Saving Time changes for September 2007

Perhaps it seems that the following is correct

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

I've requested a new patch.
brandon_61
Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

HMMMmmm,

See this in...
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=ucr_na-KMN8606247542_ssb-1

>Our product team has reviewed your request,
>after careful
>consideration, we have determined that we will
>not be able to
>address this request in the current or future
>versions of the product.
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>8-10 points will be allocated to the first person to explain why this is not the end of this thread.

Because you and Brandon are saying the patch isn't right for the ending time?

>Brandon: Perhaps it seems that the following is correct

Did you mean incorrect?

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

This is what is in the patch, it has 1 am. After 1:59 am NZDT it changes to 1 am NZST.

Are you saying this is wrong? And some were always wrong? (Australia seemed to change?)

>Brandon: See this in... CR JAGae13978.

(Are you saying this is Alan's fault for not pointing this out before? ;-)

Hmm, the link in CR JAGag42510 seems pretty clear. :-(
http://www.dia.govt.nz/diawebsite.nsf/wpg_URL/Services-Daylight-Saving-Index?OpenDocument

Not sure why it wasn't implemented that way.
kate32
Frequent Advisor

Re: New Zealand Daylight Saving Time changes for September 2007

Hi guys,

One more question. As you said there will be no patch for me :-( on 11.00.
Can I download the patch for 11.11 and extract the the file on my hp-ux 11.00 ?
I need to be sure there is no impact as I don;t have a test machine only production and only one and on11.00 ...
so if I do this is it correct ?:
1 - I will first install the patch cumulative PHCO_36096
2- Then: Download the patch and put it on /tmp
# sh /tmp/PHCO_36823
# tar -xvf /tmp/PHCO_36823.depot
# cd /tmp/PHCO_36823/UX-CORE/usr/newconfig/usr/lib/tztab

# cp tztab.gz
gzip -d tztab.gz
I will have the new file tztab...


3 - and then reboot

Do you think this will work ?

Thanks in advance

Cheers
Kate
whiteknight
Honored Contributor

Re: New Zealand Daylight Saving Time changes for September 2007


Hi Kate

You can copy the new tztab file from 11.11.
Please do a fresh reboot for this to take effect.


WK.
Problem never ends, you must know how to fix it
Dennis Handly
Acclaimed Contributor

Re: New Zealand Daylight Saving Time changes for September 2007

>kate32: Can I download the patch for 11.11

(You might as well download the 11.31 version since it has a bigger OS version number. ;-)

>kate32: I will have the new file tztab

I assume you copied it to /usr/lib/?

>3 - and then reboot

I wouldn't reboot until I tested it with Clay's script. And then only when convenient, between now and Sep 29.

>WK: Please do a fresh reboot for this to take effect.

Only needed for long running system processes and demons.