mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 15:06:59 -05:00
Update zap2it to pull UTC
This commit is contained in:
parent
b9a1ec7152
commit
5959a2ebec
@ -34,7 +34,7 @@ class ZapEPG():
|
||||
programguide = {}
|
||||
|
||||
# Start time parameter is now rounded down to nearest `zap_timespan`, in s.
|
||||
zap_time = time.mktime(time.localtime())
|
||||
zap_time = datetime.datetime.utcnow().timestamp()
|
||||
zap_time_window = int(self.config.dict["zap2it"]["timespan"]) * 3600
|
||||
zap_time = int(zap_time - (zap_time % zap_time_window))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user