Commit 3eef1ba7 authored by Glen Ditchfield's avatar Glen Ditchfield 🐛

Fix off-by-one error in yearly recurrence rule pull-down

The Monthly recurrence rule pull-down correctly lists December 30 as
"the 2nd to last day", but the Yearly rule pull-down incorrectly lists it as
"the 1st to last day of December".
parent f6e4e675
Pipeline #45217 passed with stage
in 8 minutes and 37 seconds
......@@ -530,7 +530,7 @@ void IncidenceRecurrence::fillCombos()
item = subsOrdinal(
ki18nc("example: the 3rd to last day of June", "the %1 to last day of %2"),
date.daysInMonth() - date.day()).subs(longMonthName).toString();
dayOfMonthFromEnd()).subs(longMonthName).toString();
mUi->mYearlyCombo->addItem(item);
item = subsOrdinal(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment