CentOS not considering daylight saving on timezone
Solution 1:
Brazil's DST change was included in TZ version 2019b.
Running yum update tzdata
should get you the newest version (which is actually 2019c
, but it includes the change you care about).
You can use rpm -q tzdata
to check the version you have.
CentOS seems to be running behind on making these updates available - they still only offer 2019a. See https://www.centos.org/forums/viewtopic.php?t=72416 for discussion and https://bugs.centos.org/view.php?id=16702 for the bug report
Solution 2:
Brazil no longer observing DST is in tzdata-2019b circa July. (ICANN, formerly IANA, is the maintainer compiling the changes.)
For some reason, I only find 2019a on the CentOS 8 mirrors. Consider raising the issue in a bug report or mailing list. Upstream RHEL commits to a prompt tzdata release.
Until this is updated, consider picking another city at the same offset, like America/Argentina/Buenos_Aires. (Hopefully both do the sane thing and stay on no DST, but who knows...)