Adjustments in the ICal template

Adjustments in the ICal template

by Dorel Manolescu -
Number of replies: 1
Picture of Plugin developers
Hi,
I noticed in the Ical code for the template that there are some settings for a specific timezone:
.....
BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Tzfile/Pacific/Auckland
X-LIC-LOCATION:Pacific/Auckland
BEGIN:STANDARD
TZNAME:NZST
DTSTART:19700405T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=4
.....

Does those settings affects our workflow if we are in different timezones? Does we have to modify the code to put our ones?
For the moment i commented this part:

METHOD:{$icalmethod}
<!--begincomment BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Tzfile/Pacific/Auckland
X-LIC-LOCATION:Pacific/Auckland
BEGIN:STANDARD
TZNAME:NZST
DTSTART:19700405T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=4
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
END:STANDARD
BEGIN:DAYLIGHT
TZNAME:NZDT
DTSTART:19700928T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=9
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
END:DAYLIGHT
END:VTIMEZONE end comment-->
{$VEVENTS}

I noticed that if i set the correct timezone for the teacher and the default for the students it seems that it works ok.
Can anyone tell me if this a good idea?

Thank you in advance!
Average of ratings: -
In reply to Dorel Manolescu

Re: Adjustments in the ICal template

by François Marier -
You're right, we are unfortunately hardcoding the timezone information into the iCal file. This should be fixed.

If someone has the time to fix it up and test it, I will be happy to merge this in.

Cheers,
Francois