Bug 199116 - recurring events wont show on last date of previous month
Summary: recurring events wont show on last date of previous month
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.2.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 09:04 UTC by Tomas Pospisek
Modified: 2009-07-27 08:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ICS Calendar with recurring event ending on the last monday of June (2.17 KB, text/calendar)
2009-07-06 09:08 UTC, Tomas Pospisek
Details
Screenshot of the calendar with the event in june (110.99 KB, image/png)
2009-07-06 09:23 UTC, Tomas Pospisek
Details
Screenshot of the calendar with the event in July (101.76 KB, image/png)
2009-07-06 09:24 UTC, Tomas Pospisek
Details

Note You need to log in before you can comment on or make changes to this bug.
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