removed the checking condition which actually checks if the start time is 00:00 or not as it seemed unnecessary. We calculate the time difference in timedelta format and if there is any existance of 00:00 in start time then it is obvious that there will be no end time and it will not affect the ‘total working minutes’ calculation as the difference will be 0 minutes.