After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 380866 - Subscribed Calendars do not adjust events to local time
Subscribed Calendars do not adjust events to local time
Status: RESOLVED OBSOLETE
Product: evolution-data-server
Classification: Platform
Component: libical
1.10.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-11-30 12:30 UTC by Alex Latchford
Modified: 2009-05-13 23:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
ics file that is parsed incorrectly (123.77 KB, text/calendar)
2006-12-19 22:24 UTC, John Haitas
Details

Description Alex Latchford 2006-11-30 12:30:58 UTC
Please describe the problem:
Hello,

I am forwarding a bug report on behalf of John Haitas,
https://bugs.launchpad.net/distros/ubuntu/+source/evolution/+bug/73650
I can confirm that this behaviour does indeed happen to myself also.

Original report:

When I subscribing to the Arsenal FC iCal at icalx.com the event times are displayed at London time rather than the local time of the subscriber... here is the link to the calendar:

webcal://icalx.com/public/piri/Arsenal32FC.ics

iCal on Mac OS X 10.4 automatically adjusts the subscribed calendar to display events at the user's local time - therefore it is possible to do this with evolution...

I am sure this problem is not limited exclusively to this calendar share... just an example

Thanks Alex

Steps to reproduce:
1. Switch to Calendar View
2. New Calendar -> On the Web
3. Submit Changes


Actual results:
New calendar created, but not changed to local times, left as time imported.

Expected results:
New calendar created, but times will be converted to local times so its more useful for the viewer

Does this happen every time?
Yes

Other information:
Comment 1 John Haitas 2006-12-19 19:16:33 UTC
it looks to me as if the actual bug could be located in libecal... i have not been able to look through that source code.... i think what is happening is libecal fetches the ical timezone incorrectly...
Comment 2 John Haitas 2006-12-19 19:18:04 UTC
could someone please confirm this so that it gets worked on?
Comment 3 John Haitas 2006-12-19 22:19:51 UTC
i am quite sure this bug is located in libecal... as such i am going to relabel it....

in e-cal-util.c there is a call to the function 'icalparser_parse'....

i am unable to locate this function definition... if anyone knows where this function is located please share....
Comment 4 John Haitas 2006-12-19 22:22:16 UTC
The .ics file located at http://icalx.com/public/piri/Arsenal32FC.ics contains references to two timezones...

Europe/London & Europe/Oslo

are these two timezones actually the same?
could the multiple references be the root of the problem?

in dealing with timezone information libecal defaults the timezone to UTC if there is a problem reading the timezone information.

i will attach the ics file
Comment 5 John Haitas 2006-12-19 22:24:45 UTC
Created attachment 78659 [details]
ics file that is parsed incorrectly
Comment 6 John Haitas 2006-12-19 22:35:21 UTC
Europe/Oslo is, in fact, one hour ahead of Europe/London...

could the case be that the current ical parser is unable to handle multiple time zones??

perhaps this is the problem
Comment 7 Matthew Barnes 2008-03-11 00:59:31 UTC
Bumping version to a stable release.
Comment 8 John Haitas 2009-05-13 23:12:18 UTC
This bug is fixed... please confirm
Comment 9 C de-Avillez 2009-05-13 23:27:17 UTC
Chatted with John. He is now running Evo 2.26.1, and this might have been fixed in a libical update. So... closing fix released (somewhere/sometime in the past).