Fix: GetDurationFromCost() -> set inputDate if next valid working time-range
in on another day and break the loop iterating through next days.
This commit is contained in:
parent
9394625d35
commit
48fccafe76
@ -320,7 +320,6 @@ std::string Calculator::GetDurationFromCost(Configuration* cfg,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
QDateTime upper = inputDate.addDays(days);
|
QDateTime upper = inputDate.addDays(days);
|
||||||
upper.setTime(next_working_time_from);
|
upper.setTime(next_working_time_from);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user