test
This commit is contained in:
parent
c143a40558
commit
856ffa8490
@ -160,11 +160,9 @@ class OriginEPG():
|
||||
xmltime = datetime.datetime.fromisoformat(xmltime)
|
||||
xmltime = xmltime.strftime('%Y%m%d%H%M%S %z')
|
||||
if offset != '+00:00':
|
||||
print(xmltime)
|
||||
xmltime = datetime.datetime.strptime(xmltime, "%Y%m%d%H%M%S %z")
|
||||
xmltime = xmltime.astimezone(pytz.utc)
|
||||
xmltime = xmltime.strftime('%Y%m%d%H%M%S %z')
|
||||
print(xmltime)
|
||||
return xmltime
|
||||
|
||||
def get_prog_timedict(self, starttime, endtime, offset):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user