sogo/SOPE/NGCards/TimeZones/UPDATING
Francis Lachapelle b5fdc4a7c9 applied changes from 92cceaf860bbf56d983063471093858a3871ec23
through e38c570559610854b85c2c517053417779a76964

applied changes from e38c570559610854b85c2c517053417779a76964
             through 9d44b483787d6b5bf34a75581975d592ab901570

applied changes from 9d44b483787d6b5bf34a75581975d592ab901570
             through 6ec97f8aa3c0da79e5ef04809f3d7fce566e64b3

Monotone-Parent: 00afe1e795cd37cafff7687d6f1b8502f4f5735e
Monotone-Revision: 82564e2898976a6c09a85817e4b2954a5c58b7a9

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-17T19:16:46
2011-11-17 19:16:46 +00:00

18 lines
589 B
Plaintext

To updated the timezone files:
1- get the vzic or tzurl tool from http://code.google.com/p/tzurl/source/checkout and compile it
2- get the zone files, for example:
mkdir /tmp/zones
cd /tmp/zones
wget ftp://munnari.oz.au/pub/oldtz/tzdata2011n.tar.gz
tar -zxvf tzdata2011n.tar.gz
3- run the conversion tool and adjust the PRODID
vzic --olson-dir /tmp/zones/ --output-dir SOGo/SOPE/NGCards/TimeZones/
cd SOGo/SOPE/NGCards/TimeZones/
rm -f zones.h zones.tab
find . -name "*.ics" | xargs -ti sed -i s/'tzurl.org\/\/NONSGML Olson 2011k'/'Inverse inc.\/\/NONSGML SOGo'/ {}