Исправление ошибки с фиксом интервала

This commit is contained in:
Danil Kislov
2019-06-28 15:21:41 +03:00
parent 38633352d9
commit 91e736913a
3 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -1 +1 @@
1.0.56
1.0.57
+3 -3
View File
@@ -26,6 +26,6 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.56")]
[assembly: AssemblyFileVersion("1.0.56")]
[assembly: AssemblyInformationalVersion("1.0.56")]
[assembly: AssemblyVersion("1.0.57")]
[assembly: AssemblyFileVersion("1.0.57")]
[assembly: AssemblyInformationalVersion("1.0.57")]
@@ -94,7 +94,7 @@ namespace JiraTimeBot.TaskTime
return null;
}
private void FixTooBigInterval(Settings settings, int totalCommitsCount, int workHours)
private void FixTooBigInterval(Settings settings, int workHours, int totalCommitsCount)
{
//если кол-во коммитов более чем кол-во интервалов - то уменьшим интервал вдвое.
while (totalCommitsCount > (workHours * (60.0 / settings.RoundToMinutes)))