Fixing bug onf start and finish time when there is no breaks (calculator)
This commit is contained in:
parent
ecba479c7c
commit
1b61d07bcb
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ class FormData:
|
|||
"""
|
||||
if not breaks:
|
||||
# If there are no breaks, the interval is the start and end.
|
||||
return models.SpecificInterval(((start, finish),))
|
||||
return models.SpecificInterval(((start/60, finish/60),))
|
||||
|
||||
# Order the breaks by their start-time, and ensure that they are monotonic
|
||||
# and that the start of one break happens after the end of another.
|
||||
|
|
|
|||
Loading…
Reference in a new issue