mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Restore host total_activity_time
This commit is contained in:
parent
aa5e441f51
commit
2a21832c54
5 changed files with 15 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue