Fix visualizzazione tempi > 999 sec
This commit is contained in:
@@ -91,7 +91,7 @@ namespace NKC_WF.WebUserControls
|
||||
{
|
||||
int totSec = 0;
|
||||
string answ = "";
|
||||
int.TryParse(_timeSec.ToString(), out totSec);
|
||||
int.TryParse(_timeSec.ToString().Replace(".",""), out totSec);
|
||||
int numMin = totSec / 60;
|
||||
int numSec = totSec - (60 * numMin);
|
||||
answ = $"{numMin:00}:{numSec:00}";
|
||||
|
||||
Reference in New Issue
Block a user