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

View File

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