Add Custom Lists download alert and handle hourly download retry

Closes #2410
This commit is contained in:
emanuele-f 2019-02-21 01:02:57 +01:00
parent 7e2ac7fbaa
commit 405841431c
6 changed files with 63 additions and 25 deletions

View file

@ -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
-- ####################################################