Fix wrong optimization in yearly recurrence calc

This commit is contained in:
Francis Lachapelle committed 2019-01-18 15:16:23 -05:00
1 parent 0186e6404f
commit ca9f83ec1f
3 files changed
+23 -13

No files matched your search

@@ -227,8 +227,9 @@
}
else
{
// Year was skipped, added 12 months to the counter
monthDiff += 12;
// Year was skipped, jump to following year
monthDiff += (13 - currentMonth);
currentMonth = 1;
}
}