No more DST in Brazil

Dear Sirs, I am a PHP programmer and I verified a problem when I setted a timezone location to "America/Sao_Paulo" for a program. I observed that data was showing dates and times with 1 hour difference. After some search, I downloaded the TZ database from https://www.iana.org/time-zones/repository/tzcode-latest.tar.gz where I believe that Brazilian DST remains setted, despite of Brazilian Governament has officialy cancelled DST in Brazil as described in the file southamerica finded in the TZ database in lines 946 to 949. I hope I could help. Regards, Sergio Leal Enviado do Email para Windows 10

Sérgio, You have downloaded the wrong artefacts - You have downloaded the source code for the userspace components, not the tzdata per se. For what is worth, the new Brazil DST has been shipped as few months ago, in the 2019b release - see announcement in https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html Download tzdata (not tzcode) 2019b or 2019c and you will be good. - RF. ----- Original Message -----
From: "Sergio Leal" <slealrj@gmail.com> To: tz@iana.org Sent: Tuesday, October 29, 2019 5:11:16 PM Subject: [tz] No more DST in Brazil
Dear Sirs,
I am a PHP programmer and I verified a problem when I setted a timezone location to "America/Sao_Paulo" for a program.
I observed that data was showing dates and times with 1 hour difference. After some search, I downloaded the TZ database from https://www.iana.org/time-zones/repository/tzcode-latest.tar.gz where I believe that Brazilian DST remains setted, despite of Brazilian Governament has officialy cancelled DST in Brazil as described in the file southamerica finded in the TZ database in lines 946 to 949.
I hope I could help.
Regards,
Sergio Leal
Enviado do Email para Windows 10

PHP releases the tzdata via the "timezonedb" package in PECL: https://pecl.php.net/package/timezonedb The current version 2019.3 corresponds with the IANA TZDB 2019c. The prior version 2019.2 corresponds with 2019b where the Brazil change was made. Thus, you need timezonedb 2019.2 or later installed to see the Brazil change. Additionally, every release of PHP itself includes the most currently available timezonedb package at the time of release. Thus, you can simply update your PHP installation to the current version.
From PHP, you can call the function timezone_version_get() to see the currently installed version of timezonedb.
________________________________ From: tz <tz-bounces@iana.org> on behalf of Rodrigo Freire <rodrigo@redhat.com> Sent: Monday, November 4, 2019 4:24 AM To: Sergio Leal <slealrj@gmail.com> Cc: tz@iana.org <tz@iana.org> Subject: Re: [tz] No more DST in Brazil Sérgio, You have downloaded the wrong artefacts - You have downloaded the source code for the userspace components, not the tzdata per se. For what is worth, the new Brazil DST has been shipped as few months ago, in the 2019b release - see announcement in https://mm.icann.org/pipermail/tz-announce/2019-July/000056.html Download tzdata (not tzcode) 2019b or 2019c and you will be good. - RF. ________________________________ From: "Sergio Leal" <slealrj@gmail.com> To: tz@iana.org Sent: Tuesday, October 29, 2019 5:11:16 PM Subject: [tz] No more DST in Brazil Dear Sirs, I am a PHP programmer and I verified a problem when I setted a timezone location to "America/Sao_Paulo" for a program. I observed that data was showing dates and times with 1 hour difference. After some search, I downloaded the TZ database from https://www.iana.org/time-zones/repository/tzcode-latest.tar.gz where I believe that Brazilian DST remains setted, despite of Brazilian Governament has officialy cancelled DST in Brazil as described in the file southamerica finded in the TZ database in lines 946 to 949. I hope I could help. Regards, Sergio Leal Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para Windows 10

On 2019-10-29 14:11, Sergio Leal wrote:
I am a PHP programmer and I verified a problem when I setted a timezone location to "America/Sao_Paulo" for a program. I observed that data was showing dates and times with 1 hour difference. After some search, I downloaded the TZ database from https://www.iana.org/time-zones/repository/tzcode-latest.tar.gz where I believe that Brazilian DST remains setted, despite of Brazilian Governament has officialy cancelled DST in Brazil as described in the file southamerica finded in the TZ database in lines 946 to 949.
And the latest 2019c release shows no DST from Feb 2019 onwards. The latest compiled binary tzdata files have to be installed on your PHP system, normally under /usr/share/zoneinfo/ from a package named like tzdata-2019c, zoneinfo-2019c, timezone-2019c, glibc-zoneinfo-2019c, etc. For PHP you may also have to do pecl install/upgrade timezonedb and enable the timezonedb extension to use updated info. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised.
participants (4)
-
Brian Inglis
-
Matt Johnson-Pint
-
Rodrigo Freire
-
Sergio Leal