Brazil save time daylight

Started by jorgevisentini, November 05, 2019, 03:02:28 PM

Previous topic - Next topic
Hi all.

Can I configure save time daylight on OPNsense?
We had a little problem with the save time daylight this one year soo, the timezone "America/Sao_Paulo" is wrong.
Can I tune this configuration on OPNsense?
On Linux, I donwload the update rpm timezone, but on OPN I dont know to do.

For example:
Current date/time   Tue Nov 5 12:00:57 -02 2019
My PC: 11:01 -03

Thank you all.

Time zone info comes from releases over at https://www.iana.org/time-zones -- make sure to report issues to them. You could patch the files on the disk, but it's not very straight forward and will be overwritten on updates.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Ok.

I go to search a little bit more because I guess that have some update package for FreeBSD.

Thank you.

Updates of source code look like this:

https://github.com/opnsense/src/commit/b39b84d7aa6d8a

You should first make sure that the daylight saving change you reference has been released in tzdata or not.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Sorry my english...

I didn't find the change on this github code, but on the file https://data.iana.org/time-zones/releases/tzdb-2019c.tar.lz, yes.

On southamerica file, line 946, show the decree signed at May 04, finishing up with the save time daylight in Brazil.

But, I dont know how I fixe it on OPNsense.

Time zone: America/Sao_Paulo
On OPN interface: Wed Nov 6 17:13:50 -02 2019
On FreeBSD cli: Wed Nov  6 16:14:11 -03 2019

Hi Franco, I found the problem.

On OPNsense:

If I set the time zone settings ETC/GMT -3, the OPN advance time to 3 more hours.
If I set the time zone settings ETC/GMT +3, the OPN delay time to 3 more hours.

On FreeBSD it's Ok.

I think these two time zones are inverted.

Anyway, I think it's resolved, I guess lol