Removed old comment

This commit is contained in:
Sam Splunks 2024-04-08 08:39:27 +00:00
parent 09f504fa3e
commit 27bafa847c

View File

@ -234,8 +234,6 @@ def daily_time_spent_calculation(earliest, latest, open_hours):
latest = latest.replace(hour=end_hour, minute=end_minute, second=end_second) latest = latest.replace(hour=end_hour, minute=end_minute, second=end_second)
day_delta = latest - earliest day_delta = latest - earliest
# returns up to 86399 seconds, add one second if full day
time_spent_seconds += day_delta.seconds time_spent_seconds += day_delta.seconds
return time_spent_seconds return time_spent_seconds