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
As a checked before 1914 the timezone in Sao Paulo was -3:06 but it changed on that year.
The current version of pytz is returning the timezone as it's -3:06 from UTC instead of -3:00
You can check buy using this:
from datetime import datetime
import pytz
now = datetime(2021, 2, 3, 15, 0, 0, 0, pytz.timezone("America/Sao_Paulo"))
as_utc = now.astimezone(pytz.UTC)
The text was updated successfully, but these errors were encountered:
As a checked before 1914 the timezone in Sao Paulo was -3:06 but it changed on that year.
The current version of pytz is returning the timezone as it's -3:06 from UTC instead of -3:00
You can check buy using this:
The text was updated successfully, but these errors were encountered: