Incorrect time zone DST for America/Sao_Paulo

132 views
Skip to first unread message

Brendenson Andrade

unread,
Jul 25, 2022, 6:47:57 PM7/25/22
to golang-nuts
I discovered a problem with the America/Sao_Paulo time zone.

Brazil doesn't have daylight saving time changes anymore, but Go still uses DST -2 (the correct one is -3) for the America/Sao_Paulo time zone.

I propose to change DST for this time zone.

Ian Lance Taylor

unread,
Jul 25, 2022, 6:59:37 PM7/25/22
to Brendenson Andrade, golang-nuts
For Unix systems Go uses the timezone information that is available on
the system. In general Go uses the tzdata database
(https://www.iana.org/time-zones), and we aren't going to change that.

So: what system are you running? Is the tzdata database up to date?
Is your timezone information up to date? It's unlikely that there is
anything to change in Go here.

Ian

Brendenson Andrade

unread,
Jul 26, 2022, 9:17:20 PM7/26/22
to golang-nuts
Hey Ian, my system is darwin.

I think it's probably the tzdata database, you're right, I'll check if this is up to date.

Thanks for answering
Reply all
Reply to author
Forward
0 new messages