Load update state date with explicit timezone (#808)

This commit is contained in:
Lonami Exo
2018-07-14 00:01:45 +02:00
parent 051d56af88
commit dc3d281274
2 changed files with 2 additions and 6 deletions

View File

@@ -65,11 +65,6 @@ class TLObject:
result.append('\t' * indent)
result.append(']')
elif isinstance(obj, datetime):
result.append('datetime.utcfromtimestamp(')
result.append(repr(int(obj.timestamp())))
result.append(')')
else:
result.append(repr(obj))