Skip to content

Commit

Permalink
Bug fix (break computation not using the correct value)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien committed Apr 25, 2021
1 parent 137e4f6 commit a9f3b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dayschedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (ds *DaySchedule) GetTotBreakTime() time.Duration {

break1Time := ds.Break1End.Sub(ds.Break1Start)
break2Time := ds.Break2End.Sub(ds.Break2Start)
break3Time := ds.Break2End.Sub(ds.Break3Start)
break3Time := ds.Break3End.Sub(ds.Break3Start)

return break1Time + break2Time + break3Time
}

0 comments on commit a9f3b20

Please sign in to comment.