mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Improve alert time format
This commit is contained in:
parent
19052bcd62
commit
46b950b521
2 changed files with 9 additions and 2 deletions
|
|
@ -218,4 +218,8 @@ function format_utils.formatEpochShort(epoch_begin, epoch_end, epoch)
|
|||
return format_utils.formatEpoch(epoch)
|
||||
end
|
||||
|
||||
function format_utils.formatPastEpochShort(epoch)
|
||||
return format_utils.formatEpochShort(epoch, os.time(), epoch)
|
||||
end
|
||||
|
||||
return format_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue