mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-24 00:43:21 +01:00
Removed old comment
This commit is contained in:
parent
09f504fa3e
commit
27bafa847c
@ -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
|
Loading…
Reference in New Issue
Block a user