GNOME Bugzilla – Bug 763180
use the right libical tzid handling function
Last modified: 2017-04-17 18:20:40 UTC
Created attachment 323206 [details] [review] fix tzid usage Depending on where libical sources it's tzid, it may contain it's prefix or not. Use the right function in libical to get a valid timezone offset, otherwise we get UTC shifted events once more. eg. gmail calendars provide tzid = Europe/Amsterdam , while new events provide tzid = /freeassociation.sourceforge.net/Europe/Amsterdam . Another solution might be to actually make sure we always get the one or the other from ECalComponentDateTime->tzid . But I'm not 100% sure how eds/ical handles this, if it just gets the one it finds in the .ics (which is going to be in the regular form for eg. gmail) or if it actually always transforms it before it gets provided to its own format.
Thanks for the patch.