mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 14:36:53 +00:00
Fix wrong optimization in yearly recurrence calc
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user