From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#26164: time-difference mishandles leap seconds Date: Mon, 05 Nov 2018 19:12:49 -0500 Message-ID: <871s7znjvn.fsf@netris.org> References: <20170318224126.GK6518@fysh.org> <8736syzz61.fsf@netris.org> <20181105110236.ypop5ihwnajobcqs@fysh.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1541463126 4657 195.159.176.226 (6 Nov 2018 00:12:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2018 00:12:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 26164@debbugs.gnu.org To: Zefram Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Nov 06 01:12:01 2018 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJoyP-00013v-3V for guile-bugs@m.gmane.org; Tue, 06 Nov 2018 01:12:01 +0100 Original-Received: from localhost ([::1]:38206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJp0U-0006jh-Tn for guile-bugs@m.gmane.org; Mon, 05 Nov 2018 19:14:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJp0P-0006ja-Tg for bug-guile@gnu.org; Mon, 05 Nov 2018 19:14:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJp0M-0000ku-6q for bug-guile@gnu.org; Mon, 05 Nov 2018 19:14:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59821) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJp0M-0000kp-2A for bug-guile@gnu.org; Mon, 05 Nov 2018 19:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJp0L-0001SX-PX for bug-guile@gnu.org; Mon, 05 Nov 2018 19:14:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 06 Nov 2018 00:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26164 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 26164-submit@debbugs.gnu.org id=B26164.15414632225572 (code B ref 26164); Tue, 06 Nov 2018 00:14:01 +0000 Original-Received: (at 26164) by debbugs.gnu.org; 6 Nov 2018 00:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:35846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJp01-0001Ro-SU for submit@debbugs.gnu.org; Mon, 05 Nov 2018 19:13:42 -0500 Original-Received: from world.peace.net ([64.112.178.59]:60746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJozz-0001Rb-NJ for 26164@debbugs.gnu.org; Mon, 05 Nov 2018 19:13:40 -0500 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJozu-0003Ck-1n; Mon, 05 Nov 2018 19:13:34 -0500 In-Reply-To: <20181105110236.ypop5ihwnajobcqs@fysh.org> (Zefram's message of "Mon, 5 Nov 2018 11:02:36 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:9259 Archived-At: Zefram writes: > Mark H Weaver wrote: >> every UTC day has >>exactly 86400 UTC seconds, > > No, that's not how UTC works. There are some time scales derived from UTC > that have exactly 86400 seconds for each UTC day, such as Markus Kuhn's > UTC-SLS, or that have exactly 86400 seconds per UTC day in the long run, > such as Google's "leap smear". But SRFI-19 doesn't refer to any of those, > it refers to UTC. BTW, I discussed this with John Cowan at length in bug 22034, starting at message #19: https://bugs.gnu.org/22034#19 In particular, I would be curious to know how you would fill in the same table that John attempted to fill in, here: https://bugs.gnu.org/22034#55 What numbers would you write in the second column of those tables? Thanks, Mark