You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should probably be using tz=timezone.utc. Python's datetime isn't the best, and fromtimestamp by default sets no tz information, which uses the local time, which in turn is generally a bad idea.
The text was updated successfully, but these errors were encountered:
python-telegram-bot/telegram/utils/helpers.py
Lines 78 to 90 in 4397903
Should probably be using
tz=timezone.utc
. Python'sdatetime
isn't the best, andfromtimestamp
by default sets notz
information, which uses the local time, which in turn is generally a bad idea.The text was updated successfully, but these errors were encountered: