mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Load update state date with explicit timezone (#808)
This commit is contained in:
@@ -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))
|
||||
|
||||
|
Reference in New Issue
Block a user