mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes #4751
This commit is contained in:
parent
0a0309fb32
commit
5df403e969
2 changed files with 5 additions and 4 deletions
|
|
@ -192,8 +192,9 @@ function format_utils.formatEpoch(epoch)
|
|||
if epoch == 0 then
|
||||
return("")
|
||||
else
|
||||
-- specify the ! to indicate UTC time so that adding getFrontendTzSeconds() will give expected results
|
||||
return(os.date("!%d/%m/%Y %X", epoch + getFrontendTzSeconds()))
|
||||
local t = epoch + getFrontendTzSeconds()
|
||||
-- specify the ! to indicate UTC time so that adding getFrontendTzSeconds() will give expected results
|
||||
return(os.date("!%d/%m/%Y %X", t))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue