From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12226 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] use UTC instead of GMT Date: Thu, 7 Dec 2017 15:22:58 -0600 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <5A29B132.2020108@adelielinux.org> References: <20171207165407.17541-1-ncopa@alpinelinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1512681794 11467 195.159.176.226 (7 Dec 2017 21:23:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2017 21:23:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 To: musl@lists.openwall.com Original-X-From: musl-return-12242-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 07 22:23:10 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eN3dN-0002pV-EP for gllmg-musl@m.gmane.org; Thu, 07 Dec 2017 22:23:09 +0100 Original-Received: (qmail 21758 invoked by uid 550); 7 Dec 2017 21:23:14 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 21730 invoked from network); 7 Dec 2017 21:23:13 -0000 In-Reply-To: <20171207165407.17541-1-ncopa@alpinelinux.org> Xref: news.gmane.org gmane.linux.lib.musl.general:12226 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 07/12/17 10:54, Natanael Copa wrote: > GMT is a timezone officially used by some countries in Europe and > Africa. UTC is not a timezone, but a time standard. No country or > territory officialy uses UTC as local time. > > Also, POSIX mentions UTC a few places[1][2] but never GMT (except > as an example[2] for a timezone) > > So it makes more sense to use UTC instead of GMT and return UTC > when no timezone is set in /etc/localtime or TZ is set to empty. Would just like to note here that the glib test suite gets really confused by "GMT" instead of "UTC" because of silly daylight savings. So not only is this more POSIXly correct, it will actually fix a bug. (Now I can probably remove tzdata as a test dependency of glib.) - --arw - -- A. Wilcox (awilfox) Project Lead, Adélie Linux http://adelielinux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJaKbEvAAoJEMspy1GSK50UZoUP/REb06dcGAWlD8ltB96hf8oQ IMRvXX7I3H/WUdTcOVcaJ8ligiunM50ijpoX9L+Dqe84cSu927DVzV9vgLibXcPO RkhaZqIj8w/uJJKOXNKpTOXbU4YZgg0UHPaL5G6k5Lzz28gX5Wpq/KQO28WSkQFX ObIDmcj8q5no8gh4R775OzSyrgSEN2xKvK1nNG5Xws6SLjRXO8F08CpL4uKVxkJr pKHeFdfqhLOt4w0HpSUgcez+4sn8IzK1/97a26Tb6+t57VUyG5L+mkTr5qm6DEb4 sCslOyD5obglb7PsZtPxBUoRJBjQbnPbOXZMmqOuWsW1F2KqtYTP2G9Q0pNTLVI6 xl+9SY+rj6xmDxPYX2QSckpnFR0DhCS3BKvVKZRiLzZtejW1JK2kx5ve9hSNTIHq E5r7Dt1bzF7IZ03JFrq9jkwlmWxu9ZHqFtvD6poSPRC1mZkiRNysr0I3XjuJkcBl +M9YUeCWuGTZFgHqBYzjmzqBkXyf1O4Pcs1rJIDEgoesP2zFty54C6O+FcutTkcN s+Fx51Uwq6fYNsmBeVPwHjt2ZA6s5rGLkpznW5DPZzrt4xsmqs0JTmqVCJ8AwICn FZ1/b8+5IWNPUOJtGfF1WTk1By5D/+TuXYlei3+VV5YYzOp0M5evaOlszIn/pbuX RfungIBYHdjbvZhk8JFR =hbK5 -----END PGP SIGNATURE-----