mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add Custom Lists download alert and handle hourly download retry
Closes #2410
This commit is contained in:
parent
7e2ac7fbaa
commit
405841431c
6 changed files with 63 additions and 25 deletions
|
|
@ -2792,9 +2792,9 @@ function getTzOffsetSeconds()
|
|||
local now = os.time()
|
||||
local local_t = os.date("*t", now)
|
||||
local utc_t = os.date("!*t", now)
|
||||
local delta = (local_t.hour - utc_t.hour)*60 + (local_t.min - utc_t.min)
|
||||
local delta = os.time(local_t) - os.time(utc_t)
|
||||
|
||||
return(delta*60)
|
||||
return(delta)
|
||||
end
|
||||
|
||||
-- ####################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue