Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.58 KB

File metadata and controls

40 lines (28 loc) · 1.58 KB

Australian daylight savings periods

This code scrapes the Australian Bureau of Meteorology's information page on daylight savings and creates a computer readable dataset of historical daylight savings start and end dates.

There are plenty of caveats that go with this data if you're using it for any serious purpose. It doesn't even attempt to take account of all edge cases and anomalies.

Data

Start and end dates are output in ISO8601 format at UTC which is mildly annoying for a human, but no trouble for computers.

Get the data via morph.io.

Improvements

Pull requests are most welcome. As noted by the BOM, this is in no sense an official list of Australian DST periods, however it is the best source I've found.

Each state government has separate responsibility for implementing daylight savings and as a result there doesn't appear to be a centralised source of historical timezone data in Australia. If you can find a better source, contact me.

Running

This is a scraper that runs on Morph. To get started see the documentation. You can also run it locally if you have Node.JS installed by cloning this repository.

git clone https://github.com/drzax/morph-australian-daylight-savings.git
cd morph-australian-daylight-savings
npm i
node scraper

This will deposit data.sqlite in the project root.