mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
parent
5c3488bf6f
commit
94603367e8
2 changed files with 3 additions and 2 deletions
|
|
@ -1004,7 +1004,7 @@ end
|
|||
-- Compute the difference in seconds between local time and UTC.
|
||||
function get_timezone()
|
||||
local now = os.time()
|
||||
return os.difftime(now, os.time(os.date("!*t", now)))
|
||||
return math.floor(os.difftime(now, os.time(os.date("!*t", now))))
|
||||
end
|
||||
|
||||
function getCategoriesWithProtocols()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue