Files
sogo/SOPE/NGCards/TimeZones/UPDATING
T
Ludovic Marcotte c331ff11eb Fix for bug #1501
Monotone-Parent: 9d44b483787d6b5bf34a75581975d592ab901570
Monotone-Revision: 6ec97f8aa3c0da79e5ef04809f3d7fce566e64b3

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-11-17T15:30:58
Monotone-Branch: ca.inverse.sogo
2011-11-17 15:30:58 +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'/ {}