mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Added support for nDPI network handling in flows
This commit is contained in:
parent
fadd612d14
commit
f20c762dec
5 changed files with 69 additions and 25 deletions
|
|
@ -52,8 +52,13 @@ function format_utils.secondsToTime(seconds)
|
|||
if(years > 0) then
|
||||
days = days % 365
|
||||
|
||||
msg = years .. " year"
|
||||
if(years > 1) then msg = msg .. "s" end
|
||||
msg = years .. " "
|
||||
|
||||
if(years == 1) then
|
||||
msg = msg .. i18n("year")
|
||||
else
|
||||
msg = msg .. i18n("years")
|
||||
end
|
||||
end
|
||||
|
||||
if(days > 0) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue