Page 1 of 1

Error in time display greater than one hour

Posted: 17 Jul 2017, 11:55
by chapelier
3555, 3566, ... :)
something wrong in a lib function.
Image

Re: Error in time display greater than one hour

Posted: 18 Jul 2017, 09:29
by chapelier
In the file :
core\Utils\Formatter.php, line 43 :

Code: Select all

$seconds      -= $hours * 60 + $minutes * 60;
should be :

Code: Select all

$seconds      -= ($hours * 60 + $minutes) * 60;

Re: Error in time display greater than one hour

Posted: 18 Jul 2017, 11:40
by chapelier
well I tried something but i am not sure about the procedure and it seems not to be the right way to do... :?
I created a pull request but i could not modified any file.