mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: [PATCH] use UTC instead of GMT
Date: Thu, 7 Dec 2017 15:22:58 -0600	[thread overview]
Message-ID: <5A29B132.2020108@adelielinux.org> (raw)
In-Reply-To: <20171207165407.17541-1-ncopa@alpinelinux.org>

-----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-----


  reply	other threads:[~2017-12-07 21:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-07 16:54 Natanael Copa
2017-12-07 21:22 ` A. Wilcox [this message]
2017-12-07 22:15 ` Natanael Copa
  -- strict thread matches above, loose matches on Subject: below --
2017-07-22  9:19 Natanael Copa
2017-07-22 14:26 ` Rich Felker
2017-07-28 12:35   ` Natanael Copa
2017-07-28 13:00     ` Rich Felker
2017-07-28 14:05       ` A. Wilcox
2017-07-28 14:54         ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A29B132.2020108@adelielinux.org \
    --to=awilfox@adelielinux.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).