2
With the change of date of the start of daylight saving time this year, postgresql database are experiencing problems (as well as several other systems), going on to inform the timezone
with dls
(Daylight saving) from day 21/10.
How to get SGDB to enter the time correctly ?
I use version 9.1, in updated versions the problem does not occur.
The problem with this approach is that every time summer time starts or ends, it will have to be changed again. Rovann’s answer above is better, because timezones like
America/Sao_Paulo
you already know if you have to use -2, -3 or any other value, and you already make the change automatically. Furthermore, in Brazilian daylight saving time, the correct is -3 and -2, not +3 and +2: https://www.timeanddate.com/time/zone/brazil/sao-paulo– hkotsubo