Bug 393541 - Wrong timezone on imported invitation
Summary: Wrong timezone on imported invitation
Status: REOPENED
Alias: None
Product: korganizer
Classification: Applications
Component: invitations (show other bugs)
Version: 5.8.1
Platform: Neon Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-26 13:42 UTC by Roland Tapken
Modified: 2018-10-24 11:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Invitation generated by IBM Domino (1.38 KB, text/calendar)
2018-04-26 13:42 UTC, Roland Tapken
Details
Screenshot of the imported event (22.97 KB, image/png)
2018-04-26 13:43 UTC, Roland Tapken
Details
Screenshot in korganizers preview (15.16 KB, image/png)
2018-04-26 13:45 UTC, Roland Tapken
Details
Invitation correctly imported one year ago (1.29 KB, text/calendar)
2018-04-26 13:50 UTC, Roland Tapken
Details
New anomized invitation (1.53 KB, text/calendar)
2018-10-24 11:25 UTC, Roland Tapken
Details
How the invitation is displayed (46.54 KB, image/png)
2018-10-24 11:27 UTC, Roland Tapken
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Tapken 2018-04-26 13:42:26 UTC
Created attachment 112262 [details]
Invitation generated by IBM Domino

The attached .ics file generated by IBM Domino / Lotus Notes describes an event starting at 2018-05-16T13:00:00 CEST (UTC+0200).

The rendered preview in KMail and the stored event in korganizer starts at 2018-05-16T14:00:00 CEST, one hour later.

The system timezone is set to Germany/Berlin (UTC+0200).

However I'm not sure if the file is incorrectly parsed by Korganizer or generated by Domino. I've checked an invitation I've imported one year ago with an earlier version of korganizer (the one that was part of Debian 9), and while it was correctly stored into the calender at that time the invitation is now rendered with an offset of one hour in KMail.

Back in 2005(!) a similar bug was reported at #106149
Comment 1 Roland Tapken 2018-04-26 13:43:13 UTC
Created attachment 112263 [details]
Screenshot of the imported event
Comment 2 Roland Tapken 2018-04-26 13:45:10 UTC
Created attachment 112264 [details]
Screenshot in korganizers preview
Comment 3 Roland Tapken 2018-04-26 13:50:47 UTC
Created attachment 112266 [details]
Invitation correctly imported one year ago

This invitation has correctly imported one year ago but is now imported with UTC+0100 instead of UTC+0200.
Comment 4 Allen Winter 2018-04-26 17:07:23 UTC
I imported your calendar invite into KOrganizer and it shows up on 16 May at 0700 New York timezone (which is my system timezone)
translates to 1300 Berlin

which is correct AFAICT

I wonder which libical you are using.  I'm using libical 3.0.x
Comment 5 Roland Tapken 2018-04-27 13:44:10 UTC
KDE neon (User Edition) comes with libcal2-2.0.0-4+16.04+xenial+build1.
Comment 6 Roland Tapken 2018-04-27 13:44:39 UTC
libical2-2.0.0-4+16.04+xenial+build1
Comment 7 Allen Winter 2018-04-28 14:20:31 UTC
I'm pretty sure upgrading the Neon libical to version 3.0.x will fix this.
Comment 8 Roland Tapken 2018-04-28 21:22:25 UTC
Might be the same bug as mentioned in https://github.com/libical/libical/issues/58
Comment 9 Roland Tapken 2018-04-28 21:25:10 UTC
Btw., libical3 isn't available for the user version of KDE neon, yet. And I didn't find it in dev/stable nor in dev/unstable.
Comment 10 Roland Tapken 2018-10-24 11:25:20 UTC
Still having the same problem with Ubuntu 18.04 and 18.10. The later comes with libical3-3.0.4. So libical 3.x doesn't resolve the issue.

Sidenote: an invitation for a date in CET instead of CEST is parsed correctly.
Comment 11 Roland Tapken 2018-10-24 11:25:52 UTC
Created attachment 115868 [details]
New anomized invitation
Comment 12 Roland Tapken 2018-10-24 11:27:05 UTC
Created attachment 115869 [details]
How the invitation is displayed

Notice the difference between the mail's subject and the parsed time.