test
This commit is contained in:
parent
4eb0004318
commit
2c1969f53f
@ -161,6 +161,8 @@ class OriginEPG():
|
||||
xmltime = xmltime.strftime('%Y%m%d%H%M%S %z')
|
||||
if offset != '+00:00':
|
||||
print(xmltime)
|
||||
"20201205000100 -0300"
|
||||
xmltime = datetime.strptime(xmltime, "%Y%m%d%H%M%S %z")
|
||||
xmltime = xmltime.astimezone(pytz.utc)
|
||||
print(xmltime)
|
||||
return xmltime
|
||||
|
||||
Loading…
Reference in New Issue
Block a user