sogo/SOPE/NGCards/TimeZones/UPDATING

26 lines
571 B
Plaintext
Raw Normal View History

To updated the timezone files:
2016-11-02 16:59:21 +01:00
1- get the vzic tool from https://github.com/libical/vzic
2- update the Makefile
PRODUCT_ID = -//Inverse inc.//NONSGML IANA 2016h//EN
TZID_PREFIX =
3- get the zone files, for example:
mkdir /tmp/zones
cd /tmp/zones
2016-11-08 21:29:54 +01:00
wget http://www.iana.org/time-zones/repository/releases/tzdata2016i.tar.gz
tar -zxvf tzdata2016i.tar.gz
2016-11-02 16:59:21 +01:00
4- compile and run the conversion tool
2016-11-02 16:59:21 +01:00
make -B
./vzic --olson-dir /tmp/zones --output-dir ../SOGo/SOPE/NGCards/TimeZones/
2016-11-02 16:59:21 +01:00
5- cleanup
2016-11-02 16:59:21 +01:00
cd ../SOGo/SOPE/NGCards/TimeZones/
rm -f zones.h zones.tab