fix: do not add an extra day (#18311)

This commit is contained in:
Himanshu 2019-07-15 08:36:50 +00:00 committed by Nabin Hait
parent 6abb63b445
commit 94a0d45b77
2 changed files with 2 additions and 1 deletions

View File

@ -270,6 +270,7 @@ def get_expected_time_for(parameter, service_level, start_date_time):
allotted_days -= 1
expected_time_is_set = allotted_days <= 0
if not expected_time_is_set:
current_date_time = add_to_date(current_date_time, days=1)
if end_time and time_period != 'Hour':

View File