Skip to content
Andy edited this page Feb 4, 2017 · 1 revision

1. Download latest version and generate

$ cd db && make && cd ..

2. Create database

  • Patch tz_database.hrl from db/tzout manually

3. Create index

  • Generate index from databases
$ rebar compile
$ erl -pa ebin
  1 > ibuild:build_index().
  • Move with replace ./tz_index.hrl to ./include/tz_index.hrl

4. Clean

  • Remove db/tzdata, db/tzdata-latest.tar.gz, db/tzout