test
This commit is contained in:
parent
8a22b51d8c
commit
4b7e2f0292
@ -158,7 +158,8 @@ 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)
|
||||||
print(xmltime)
|
if not xmltime.endswith('+00:00'):
|
||||||
|
print(xmltime)
|
||||||
return xmltime
|
return xmltime
|
||||||
|
|
||||||
def get_prog_timedict(self, starttime, endtime, offset):
|
def get_prog_timedict(self, starttime, endtime, offset):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user