mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
format seconds for snmp datatable columns
This commit is contained in:
parent
4ecb2ba33f
commit
9a0ff14c42
3 changed files with 3 additions and 3 deletions
2
httpdocs/js/ntop.min.js
vendored
2
httpdocs/js/ntop.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
jQuery.fn.dataTableExt.sErrMode = 'console';
|
||||
jQuery.fn.dataTableExt.formatSecondsToHHMMSS = (data, type, row) => {
|
||||
if (isNaN(data)) return data;
|
||||
if (type == "display") return DataTableUtils.secondsToHHMMSS(data);
|
||||
if (type == "display") return secondsToTime(data);
|
||||
return data;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue