[Prev][Next][Index][Thread]

Aust/Victoria managers timezone changes




Andrew Leahy just posted:

>Alpha managers who have DU boxes in the Australia/NSW timezone may find
>their machines have switched back into non-daylight savings (or vice versa
>- I can't remember which!) Anyhow, you will need to edit the
>/etc/zoneinfo/sources/australasia, and then run "zic" on that file to
>update the timezone info (ie. "zic /etc/zoneinfo/sources/australasia"). 
>I'm pretty sure the switch is supposed to occur on the last Sunday in
>March - but I'm no expert. 
>
>Replace this line (about line 83):
>
>Rule  AN      1990    max     -       Mar     Sun>=1  3:00    0       -
>
>With this line:
>
>Rule  AN      1990    1995    -       Mar     Sun>=1  3:00    0       -
>
>And then add this line:
>
>Rule  AN      1996    max     -       Mar     lastSun 3:00    0       -
>
>The diff is something like this (I probably got this wrong, I haven't
>produced context diffs before): 
>
>*** australasia.orig	Sun Mar  2 11:39:43 1997
>--- australasia	Sun Mar  2 11:41:53 1997
>***************
>*** 80,86 ****
>  # Rule	AN	1988	only	-	Mar	Sun>=1	3:00	0	-
>  # Rule	AN	1989	only	-	Mar	Sun>=15	3:00	0	-
>  Rule	AN	1988	1989	-	Mar	Sun>=15	3:00	0	- #
>! Rule	AN	1990	max	-	Mar	Sun>=1	3:00	0	-
>  # Zone	NAME			GMTOFF	RULES	FORMAT	[UNTIL]
>  Zone	Australia/NSW		10:00	AN	EST
>  Zone	Australia/Yancowinna	9:30	AN	CST
>--- 80,87 ----
>  # Rule	AN	1988	only	-	Mar	Sun>=1	3:00	0	-
>  # Rule	AN	1989	only	-	Mar	Sun>=15	3:00	0	-
>  Rule	AN	1988	1989	-	Mar	Sun>=15	3:00	0	- #
>! Rule	AN	1990	1995	-	Mar	Sun>=1	3:00	0	-
>! Rule	AN	1996	max	-	Mar	lastSun	3:00	0	-
>  # Zone	NAME			GMTOFF	RULES	FORMAT	[UNTIL]
>  Zone	Australia/NSW		10:00	AN	EST
>  Zone	Australia/Yancowinna	9:30	AN	CST
>
>
>Could somebody at Digital PLEASE FIX UP THE DISTRIBUTED ZONEINFO files. 
>Sun seem to have their zoneinfo's up to date :-)  - I'm now running DU4.0B
>and I remember having to fix this last year under DU3.2!


HEAR HEAR.


>
>_____________________________________________________________________________
>Andrew "Alf" Leahy,                                         phone: 047 360385 
>Unix Administrator,                              mailto:alf@xxxxxxxxxxxxxxxxx
>Systems & Ops, TASS, CCD, UWS Nepean    http://www.st.nepean.uws.edu.au/~alf/ 
>

With the following changes, this works for Victoria as well

:- change line 66 instead of 83

from 

Rule    AV      1991    max    -       Mar     Sun>=1  3:00    0       -

to

Rule    AV      1991    1995    -       Mar     Sun>=1  3:00    0       -

add(line 67)

Rule    AV      1996    max     -       Mar     lastSun 3:00    0       -

zic the file

I'm not sure of white space rules, but the existing entries are tabs, not spaces.
Tabs work for me.

Thanks Andrew.


boc
-- 
------------------------------------------------------------
        Brian O'Connor, Unix Systems Consultant
              Latrobe University,Bendigo
          boc@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
------------------------------------------------------------