Summary: | monthly recurrence defaults are wrong when recurring by day | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | mecrider |
Component: | general | Assignee: | Reinhold Kainhofer <reinhold> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | 3.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mecrider
2006-03-25 14:55:57 UTC
I can confirm this on up to date kubuntu dapper with KDE 3.5.2. The default day for the monthly recurrance is always the day before it should be. Fixed by this commit by Will (and the forward-port by Allen): Am Donnerstag, 18. Mai 2006 17:42 schrieb Will Stephenson: > SVN commit 542207 by wstephens: > > Get the day right. > > > M +1 -1 koeditorrecurrence.cpp > > > --- branches/KDE/3.5/kdepim/korganizer/koeditorrecurrence.cpp > #542206:542207 @@ -1165,7 +1165,7 @@ > mWeekly->setDays( days ); > > mMonthly->setFrequency( 1 ); > - mMonthly->setByPos( ( from.date().day() - 1 ) / 7 + 1, > from.date().dayOfWeek() - 1 ); > + mMonthly->setByPos( ( from.date().day() - > 1 ) / 7 + 1, from.date().dayOfWeek() ); > mMonthly->setByDay( from.date().day() ); > > mYearly->setFrequency( 1 ); |