test
This commit is contained in:
parent
895a79315f
commit
831322e181
@ -154,9 +154,10 @@ class OriginEPG():
|
|||||||
return duration
|
return duration
|
||||||
|
|
||||||
def xmltimestamp_toonami(self, inputtime, offset):
|
def xmltimestamp_toonami(self, inputtime, offset):
|
||||||
xmltime = inputtime.replace('Z', offset)
|
xmltime = inputtime.replace('Z', '+00:00')
|
||||||
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')
|
||||||
|
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