mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Tiny improvements for the throughput calculation banner
This commit is contained in:
parent
e68350c6d1
commit
eb4004024c
4 changed files with 7 additions and 4 deletions
|
|
@ -73,6 +73,8 @@ function format_utils.secondsToTime(seconds)
|
|||
msg = msg .. string.format("%02d:", truncate(minutes))
|
||||
msg = msg .. string.format("%02d", truncate(sec));
|
||||
|
||||
if(seconds < 60) then msg = msg .. " sec" end
|
||||
|
||||
return msg
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue