Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2021 03:58:24 -0500
From:      Derek Schrock <dereks@lifeofadishwasher.com>
To:        =?iso-8859-1?Q?=D6zkan?= KIRIK <ozkan.kirik@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: zoneinfo problem
Message-ID:  <YastsP5Lj1URokWT@ircbsd.lifeofadishwasher.com>
In-Reply-To: <CAAcX-AFQdth2BVCf%2BxmK%2BU30G-3DZzJ6_FsyAqRAYvnbDhoXGw@mail.gmail.com>
References:  <CAAcX-AFQdth2BVCf%2BxmK%2BU30G-3DZzJ6_FsyAqRAYvnbDhoXGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YastsP5Lj1URokWT>