Re: zoneinfo problem

From: Derek Schrock <dereks_at_lifeofadishwasher.com>
Date: Sat, 04 Dec 2021 08:58:24 UTC
On Sat, Dec 04, 2021 at 01:59:10AM EST, Özkan KIRIK wrote:
> Hi,
> 
> I don't know if here is the right mail list.
> I'm using stable/12. But there is a strangeness about zoneinfo files.
> 
> # ln -s /usr/share/zoneinfo/Etc/GMT+3 /etc/localtime
> # date
> Sat Dec  4 03:48:50 -03 2021
> 
> Above, I want to set the timezone to GMT+3 but date command shows as GMT-3
> 
> # rm /etc/localtime
> # ln -s /usr/share/zoneinfo/Etc/GMT-3 /etc/localtime
> # date
> Sat Dec  4 09:49:07 +03 2021
> 
> When I set to GMT-3 then date command shows as GMT+3
> 
> I think there is a problem with zoneinfo files.
> 
> Best regards
> 

This is expected.

https://github.com/eggert/tz/blob/2018g/etcetera#L38-L44