tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Australia/NSW timezone info incorrect
@ 1997-03-02  1:11 Andrew Leahy
  0 siblings, 0 replies; only message in thread
From: Andrew Leahy @ 1997-03-02  1:11 UTC (permalink / raw)
  To: tru64-unix-managers


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!

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-02  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-02  1:11 Australia/NSW timezone info incorrect Andrew Leahy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox