Restore host total_activity_time

This commit is contained in:
emanuele-f 2017-08-30 15:17:31 +02:00
parent aa5e441f51
commit 2a21832c54
5 changed files with 15 additions and 2 deletions

View file

@ -913,7 +913,11 @@ string.split = function(s, p)
end
function formatEpoch(epoch)
return(os.date("%d/%m/%Y %X", epoch))
if epoch == 0 then
return("-")
else
return(os.date("%d/%m/%Y %X", epoch))
end
end
function secondsToTime(seconds)