This commit is contained in:
deathbybandaid 2020-12-05 14:59:14 -05:00
parent 8a22b51d8c
commit 4b7e2f0292

View File

@ -158,7 +158,8 @@ class OriginEPG():
xmltime = datetime.datetime.fromisoformat(xmltime)
xmltime = xmltime.strftime('%Y%m%d%H%M%S %z')
xmltime = str(xmltime).replace('+00:00', offset)
print(xmltime)
if not xmltime.endswith('+00:00'):
print(xmltime)
return xmltime
def get_prog_timedict(self, starttime, endtime, offset):