🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: canb.test
Article #99

Roll your own Linux timezone files

#99
From: John Henderson
Date: Sat, 05 Apr 2008 22:53
48 lines
3045 bytes
# File AUtz.txt - Australian Time Zones.
# Pre-2008 info is mostly inaccurate or missing -
# I just haven't bothered with it.
#
# Assumes SA will keep in step with eastern states indefinitely,
# and WA will reject DST extension at 2009 referendum.
#
# To install on my system:
#
# # /usr/sbin/zic AUtz.txt
#
# Zone files will be installed in /usr/share/zoneinfo (depends
# on your distribution).
#
# You can then check for correctness, eg:
#
# # /usr/sbin/zdump -v /usr/share/zoneinfo/Australia/Canbera
#
# Then, either make a symbolic link from your zone to
# /etc/localtime, or overwrite /etc/localtime (whichever method
# for your distribution).
# Or graphically select one of the locations defined below.

# Rule  NAME    FROM    TO      TYPE    IN      ON              AT      SAVE    LETTER/S
Rule    AEDT    1996    2007    -       Oct     lastsun         2       1       D
Rule    AEDT    1997    2007    -       Mar     lastsun         3       0       S
Rule    AEDT    2008    max     -       Oct     Sun<=7          2       1       D
Rule    AEDT    2008    max     -       Apr     Sun<=7          3       0       S
Rule    AWDT    2007    2008    -       Oct     lastsun         2       1       D
Rule    AWDT    2008    2009    -       Mar     lastsun         3       0       S

# Zone  NAME                    GMTOFF  RULES/SAVE      FORMAT          [UNTIL]
Zone    Australia/Adelaide      09:30   AEDT            ACST/ACDT
Zone    Australia/Brisbane      10:00   -               AEST
Zone    Australia/Canberra      10:00   AEDT            AEST/AEDT
Zone    Australia/Darwin        09:30   -               ACST
Zone    Australia/Hobart        10:00   AEDT            AEST/AEDT
Zone    Australia/Melbourne     10:00   AEDT            AEST/AEDT
Zone    Australia/Perth         08:00   AWDT            AWST/AWDT
Zone    Australia/Sydney        10:00   AEDT            AEST/AEDT

# references:
# man zic
# http://www.bom.gov.au/climate/averages/tables/dst_times.shtml
# http://www.australia.gov.au/Time
# http://www.australia.gov.au/Time_Zones
# http://wa.gov.au/daylightsaving/
# http://www.dpac.tas.gov.au/divisions/policy/daylightsavings/
Technical Details
Message-ID: <65qe6hF2grca0U1@mid.individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!news.osn.de!diablo1.news.osn.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f563e,a0e9c6061b51eb65,start
X-Google-Attributes: gidf563e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!news.osn.de!diablo1.news.osn.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: John Henderson <jhenRemoveThis@talk21.com>
Newsgroups: canb.test
Subject: Roll your own Linux timezone files
Date: Sun, 06 Apr 2008 08:53:03 +1000
Organization: free Tibet
Lines: 49
Message-ID: <65qe6hF2grca0U1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: individual.net OoJ1uOAo2Yf1cUJf7dZFqgW8bAtT1+dy47AHKw+CEo4+OxoOw=
Cancel-Lock: sha1:IopW5iv0ipXSOP9HZVdvhD2DrXg=
User-Agent: KNode/0.7.2
X-Newsreader: KNode/0.7.2