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 586203 - Meeting timings are shown in UTC
Meeting timings are shown in UTC
Status: RESOLVED FIXED
Product: evolution-mapi
Classification: Applications
Component: Calendar
0.27.x
Other Linux
: Normal normal
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
: 580706 592887 593326 601798 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-18 07:22 UTC by Akhil Laddha
Modified: 2010-06-01 14:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26


Attachments
Sample mbox file (1.41 KB, application/mbox)
2009-08-07 05:44 UTC, Akhil Laddha
  Details
Sample ics file (1.03 KB, text/calendar)
2009-08-07 05:46 UTC, Akhil Laddha
  Details
ema patch (68.16 KB, patch)
2009-11-20 13:34 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2009-06-18 07:22:33 UTC
Evolution 2.27.3 

I received a meeting from owa which was sent in IST (Indian standard time) but it's shown in UTC with mapi provider though in the meeting description it says original timing 
When: Friday, June 19, 2009 1:00 PM-2:00 PM. India Standard Time. 

Expected : Meeting timing should follow evolution preference time zone setting.
Comment 1 Milan Crha 2009-08-06 15:53:24 UTC
Could you add here a test message please? I would like to see what's inside, as these data, if I understand your description properly, are generated in itip-formatter plugin. Thus it seems the mapi provider stripped some information while converting from MAPI to Camel, or it didn't receive enough information (maybe the timezone is not available there, in the component stored in a message)
Comment 2 Akhil Laddha 2009-08-07 05:44:07 UTC
Created attachment 140088 [details]
Sample mbox file

It's the meeting request in attendee's inbox.
Comment 3 Akhil Laddha 2009-08-07 05:46:11 UTC
Created attachment 140089 [details]
Sample ics file 

It's a meeting ics file which was scheduled by organizer
Comment 4 Milan Crha 2009-08-07 12:13:05 UTC
Both the email has set:
> DTSTART;TZID=/softwarestudio.org/Tzfile/Asia/Kolkata:20090807T103000
> DTEND;TZID=/softwarestudio.org/Tzfile/Asia/Kolkata:20090807T120000

whereas the ics file has set
> DTSTART;TZID=/softwarestudio.org/Tzfile/Asia/Kolkata:20090807T160000
> DTEND;TZID=/softwarestudio.org/Tzfile/Asia/Kolkata:20090807T173000

Note the time shift done already there. I see also that the mail doesn't contain a timezone definition used, which is, of course, included in the ics file. Where are you watching the file?
Comment 5 Akhil Laddha 2009-08-18 05:18:27 UTC
> file. Where are you watching the file?

At attendee - I see meeting request in message list / mailer view. 
At organizer - I see meeting scheduled in calendar view.
Comment 6 Milan Crha 2009-08-24 12:22:25 UTC
*** Bug 592887 has been marked as a duplicate of this bug. ***
Comment 7 birger 2009-08-25 08:05:01 UTC
Just to make sure everything is clear regarding bug 592887 that has been marked as a duplicate of this one:

The appointment was received by email using outlook 2007 on vista. It was accepted, and is visible in the calendar view in outlook with the correct time.

When I look at it from evolution it is 2 hours off. The alarm went off 2 hours early as well.

My guess was that evolution-mapi somehow confuses time zones with positive offset from GMT? I am at CET (GMT+1). Too many coders assume that offsets from GMT are always negative...
Comment 8 Akhil Laddha 2009-08-28 04:14:33 UTC
*** Bug 593326 has been marked as a duplicate of this bug. ***
Comment 9 Etienne Lequeux 2009-09-24 08:39:10 UTC
Also got this bug using evolution-mapi 0.28.0
Comment 10 Akhil Laddha 2009-11-16 04:46:09 UTC
*** Bug 601798 has been marked as a duplicate of this bug. ***
Comment 11 Milan Crha 2009-11-20 09:20:23 UTC
I forgot of this a bit. the issue is that the timezone prefix 
"/softwarestudio.org/Tzfile/" is no longer valid for libical timezones, thus the mapi backend doesn't find the correct timezone, and uses UTC.
Patch from bug #347845 will help here too, but a little fix in MAPI is necessary as well, I'll look on that.
Comment 12 Milan Crha 2009-11-20 13:34:49 UTC
Created attachment 148175 [details] [review]
ema patch

for evolution-mapi;

Patch to let it work even without the patch from the above mentioned bug.
Comment 13 Milan Crha 2009-11-20 13:38:50 UTC
Created commit 98ccc01 in ema master (0.29.3+)
Created commit 60728cc in ema gnome-2-28 (0.28.2+)
Comment 14 Milan Crha 2010-06-01 14:44:21 UTC
*** Bug 580706 has been marked as a duplicate of this bug. ***