[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/korganizer/plugins/birthdays
From: Klas Kalass <klas.kalass () gmx ! de>
Date: 2002-12-08 8:53:52
[Download RAW message or body]
CVS commit by kalass:
every 4 years, the year has one more day, so dayOfYear breaks.
M +2 -2 birthdays.cpp 1.10
--- kdepim/korganizer/plugins/birthdays/birthdays.cpp 1.10:
@@ -131,6 +131,6 @@ void Birthdays::importBirthdays()
Recurrence *vRecurrence = ev->recurrence();
vRecurrence->setRecurStart(birthdate);
- vRecurrence->setYearly(Recurrence::rYearlyDay,1,-1);
- vRecurrence->addYearlyNum(birthdate.date().dayOfYear());
+ vRecurrence->setYearly(Recurrence::rYearlyMonth,1,-1);
+ vRecurrence->addYearlyNum(birthdate.date().month());
ev->clearAlarms();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic