rush icon indicating copy to clipboard operation
rush copied to clipboard

seconds should be sec = secondsTotal-minuteTotalToSeconds-HoursTotalT…

Open OmarShawky1 opened this issue 4 years ago • 0 comments

Seconds should be subtracted from _seconds-(minuteToSeconds+hoursToSeconds), otherwise, if the workingTime>60 the time will be as following: image

To reproduce the bug, just put 61 minutes, they will be converted to an hour and minute, thus, when you subtract 60 seconds from _seconds you will get those 3600.

However, this does not impact the calculation of time, it is just what is printed.

OmarShawky1 avatar Jan 03 '22 07:01 OmarShawky1