Bug 199116

Summary: recurring events wont show on last date of previous month
Product: [Applications] korganizer Reporter: Tomas Pospisek <tpo_deb>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: smartins
Priority: NOR    
Version: 4.2.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: ICS Calendar with recurring event ending on the last monday of June
Screenshot of the calendar with the event in june
Screenshot of the calendar with the event in July

Description Tomas Pospisek 2009-07-06 09:04:37 UTC
Version:           4.2.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-13-generic

I have an event that is recurring on every Monday (the corresponding ICS File is attached).

The event ends on the last Monday in *June*.

If I look at the month view for the month June, everything shows fine and the Event is shown on the last Monday, 29th of June (screenshot attached).

Now I skip over to the next month July. Since the month view is divided into rows of weeks and each week starts with Monday, the July month view is also showing the last two days (Monday and Tuesday) of the previous month June.

However in the month view for July's the Event is not shown on the last Monday of June (screenshot attached).
*t
Comment 1 Tomas Pospisek 2009-07-06 09:08:25 UTC
Created attachment 35079 [details]
ICS Calendar with recurring event ending on the last monday of June
Comment 2 Tomas Pospisek 2009-07-06 09:23:59 UTC
Created attachment 35080 [details]
Screenshot of the calendar with the event in june
Comment 3 Tomas Pospisek 2009-07-06 09:24:30 UTC
Created attachment 35081 [details]
Screenshot of the calendar with the event in July
Comment 4 Sergio Martins 2009-07-27 08:25:35 UTC
SVN commit 1002846 by smartins:

The start and end KDateTimes that are passed to Recurrence::timesInInterval(...) must have a time, so comparing
with < and > work as we want

BUG: 199116
MERGE: e4


 M  +1 -1      monthview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1002846