🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Henderson Sat, 05 Apr 2008 22:53
Roll your own Linux timezone files
#99
Author: 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/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads