2011-11-17 20:16:46 +01:00
|
|
|
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
|
2012-05-08 16:42:57 +02:00
|
|
|
|
|
|
|
find . -name "*.ics" | xargs -ti sed -i s/'My Organization\/\/NONSGML My Product'/'Inverse inc.\/\/NONSGML SOGo'/ {}
|
|
|
|
find . -name "*.ics" | xargs -ti sed -i s/'\/myorganization.org\/20120508_1\/'// {}
|