2011-11-17 20:16:46 +01:00
|
|
|
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:
|
2011-11-17 20:16:46 +01:00
|
|
|
|
|
|
|
mkdir /tmp/zones
|
|
|
|
cd /tmp/zones
|
2016-11-02 16:59:21 +01:00
|
|
|
wget http://www.iana.org/time-zones/repository/releases/tzdata2016h.tar.gz
|
|
|
|
tar -zxvf tzdata2016h.tar.gz
|
2011-11-17 20:16:46 +01:00
|
|
|
|
2016-11-02 16:59:21 +01:00
|
|
|
4- compile and run the conversion tool
|
2011-11-17 20:16:46 +01:00
|
|
|
|
2016-11-02 16:59:21 +01:00
|
|
|
make -B
|
|
|
|
./vzic --olson-dir /tmp/zones --output-dir ../SOGo/SOPE/NGCards/TimeZones/
|
2012-05-08 16:42:57 +02:00
|
|
|
|
2016-11-02 16:59:21 +01:00
|
|
|
5- cleanup
|
2013-01-14 23:31:19 +01:00
|
|
|
|
2016-11-02 16:59:21 +01:00
|
|
|
cd ../SOGo/SOPE/NGCards/TimeZones/
|
|
|
|
rm -f zones.h zones.tab
|