mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
Fix wrong optimization in yearly recurrence calc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user