Bug 324453

Summary: Events with different timezones do not span multiple days visually
Product: [Applications] korganizer Reporter: Till Schäfer <till2.schaefer>
Component: timezonesAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: smartins
Priority: NOR    
Version: 4.11   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.2
Attachments: screenshot of the example (in german)

Description Till Schäfer 2013-09-03 12:25:46 UTC
When creating an event in KOrganizer that starts in timezone A and ends in timezone B, the real duration is calculated depending on the timezones and the event is displayed in local time. However if an event is given that have the same day in the timezones A and B, but the start and End Day is different in local time, the event is displayed as the shortest visual possible duration. It does not span multiple days.

Example: 
Lets have a flight from Chicago to Los Angeles and i live in Germany. The flight starts at 14:00 in Chicago (local time) and ends at 16:25 in Los Angeles (local time) at the same day. The real duration is 4:25 hours. In the German time zone this event would be from 21:00 to 01:25. All this Informations are shown correctly in the info of the event. However the visual representation does not match this information (see screenshot)

Reproducible: Always
Comment 1 Till Schäfer 2013-09-03 12:28:23 UTC
Created attachment 82130 [details]
screenshot of the example (in german)
Comment 2 Sergio Martins 2013-09-03 16:07:37 UTC
Git commit 6aabf134f7dd6ce76e4d45d28c14468284644e67 by Sergio Martins.
Committed on 03/09/2013 at 16:03.
Pushed by smartins into branch 'KDE/4.11'.

agendaview: Fix calculation of duration when using other timezones.

M  +3    -2    calendarviews/agenda/agendaview.cpp

http://commits.kde.org/kdepim/6aabf134f7dd6ce76e4d45d28c14468284644e67
Comment 3 Till Schäfer 2013-09-03 16:57:51 UTC
wow, that was fast. thx