Bug 369365

Summary: Time bar displays invalid times when using multiple timezones
Product: [Applications] korganizer Reporter: Boian Berberov <bberberov+kde>
Component: agendaview (weekview)Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.7.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.2
Attachments: Screenshot of issue

Description Boian Berberov 2016-09-26 01:20:01 UTC
I use multiple timezones and I noticed that the time bar renders the times incorrectly.  It does not roll over times when crossing the AM/PM divide.

Reproducible: Always

Steps to Reproduce:
1.  Add multiple timezones to the time bar with high offsets


Actual Results:  
Invalid times like 19pm appear in time bar.

Expected Results:  
Time bar displays correct times.
Comment 1 Boian Berberov 2016-09-26 01:23:16 UTC
Created attachment 101291 [details]
Screenshot of issue
Comment 2 Boian Berberov 2017-12-28 18:32:07 UTC
Just checked it in 5.7.0 and it is still the same as shown in the image.
Comment 3 Allen Winter 2018-01-13 14:44:03 UTC
Git commit 73db0afccec6e54b4b8683cb3493fbd2c1c7f503 by Allen Winter.
Committed on 13/01/2018 at 14:41.
Pushed by winterz into branch 'Applications/17.12'.

timelabels.cpp - fix invalid times when using multiple timezones
FIXED-IN: 5.7.2

M  +16   -5    src/agenda/timelabels.cpp

https://commits.kde.org/eventviews/73db0afccec6e54b4b8683cb3493fbd2c1c7f503