Error in time display greater than one hour

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: kremsy, Jocy, Wabbitface, steeffeen, NADEO

Post Reply
chapelier
Posts: 46
Joined: 08 Sep 2014, 16:43

Error in time display greater than one hour

Post by chapelier » 17 Jul 2017, 11:55

3555, 3566, ... :)
something wrong in a lib function.
Image

chapelier
Posts: 46
Joined: 08 Sep 2014, 16:43

Re: Error in time display greater than one hour

Post by chapelier » 18 Jul 2017, 09:29

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;

kremsy
Posts: 1702
Joined: 21 Jul 2011, 09:51

Re: Error in time display greater than one hour

Post by kremsy » 18 Jul 2017, 09:54

Thanks for the report ans the solution, could you make a pull request on github.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

chapelier
Posts: 46
Joined: 08 Sep 2014, 16:43

Re: Error in time display greater than one hour

Post by chapelier » 18 Jul 2017, 11:40

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.

Post Reply

Return to “ManiaControl”

Who is online

Users browsing this forum: No registered users and 1 guest