diff --git a/pyrogram/utils.py b/pyrogram/utils.py index ce19e3bd..b9f3fdd8 100644 --- a/pyrogram/utils.py +++ b/pyrogram/utils.py @@ -350,7 +350,7 @@ def zero_datetime() -> datetime: def timestamp_to_datetime(ts: Optional[int]) -> Optional[datetime]: - return datetime.fromtimestamp(ts, timezone.utc) if ts else None + return datetime.fromtimestamp(ts) if ts else None def datetime_to_timestamp(dt: Optional[datetime]) -> Optional[int]: