Reply
Thread Tools
Posts: 40 | Thanked: 43 times | Joined on Oct 2008
#1
Hey all,

I have been trying to synchronize pimlico with my computer in a way that makes sense. Right now, my setup involves the use of syncevolution. One unfortunate problem I've run into is that pimlico dates does not honour the TZID sent from Evolution on my main computer. The following shell script fixes this problem by basically doing away with time zones, which works just fine in my context. Make sure you backup your calendar.ics before playing with this! Also, you may want to make some changes, i.e., to your server and such.


Code:
#/bin/sh
syncevolution sync1
cp /home/user/.evolution/calendar/local/system/calendar.ics /tmp/calendar.ics.bak
cat /tmp/calendar.ics.bak | sed -e 's/DTSTART\;TZID=\/softwarestudio.org\/Tzfile\/America\/Montreal/DTSTART/g' >/tmp/newcal-intermediate.ics
cat /tmp/newcal-intermediate.ics | sed -e 's/DTEND\;TZID=\/softwarestudio.org\/Tzfile\/America\/Montreal/DTEND/g' >/home/user/.evolution/calendar/local/system/calendar.ics
killall e-calendar-factory
 
Reply

Tags
evolution, pimlico, syncevolution, timezone


 
Forum Jump


All times are GMT. The time now is 16:45.