Re: A structured format for dates? (future leap-seconds)

Poul-Henning Kamp <phk@phk.freebsd.dk> Thu, 16 June 2022 07:37 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6789CC15AE2E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Jun 2022 00:37:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.661
X-Spam-Level:
X-Spam-Status: No, score=-2.661 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0UmjkMmnFQU4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Jun 2022 00:37:45 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54F52C15AE2D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Jun 2022 00:37:44 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o1k2L-00059S-2Y for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Jun 2022 07:35:29 +0000
Resent-Date: Thu, 16 Jun 2022 07:35:29 +0000
Resent-Message-Id: <E1o1k2L-00059S-2Y@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <phk@critter.freebsd.dk>) id 1o1k2K-00058Z-5s for ietf-http-wg@listhub.w3.org; Thu, 16 Jun 2022 07:35:28 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <phk@critter.freebsd.dk>) id 1o1k2I-0002GQ-FW for ietf-http-wg@w3.org; Thu, 16 Jun 2022 07:35:28 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id D6D248928B; Thu, 16 Jun 2022 07:35:11 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.16.1/8.16.1) with ESMTPS id 25G7ZFYx056838 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 16 Jun 2022 07:35:15 GMT (envelope-from phk@critter.freebsd.dk)
Received: (from phk@localhost) by critter.freebsd.dk (8.16.1/8.16.1/Submit) id 25G7ZEW2056837; Thu, 16 Jun 2022 07:35:14 GMT (envelope-from phk)
Message-Id: <202206160735.25G7ZEW2056837@critter.freebsd.dk>
To: Willy Tarreau <w@1wt.eu>
cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <20220616062211.GA28947@1wt.eu>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net> <202206160546.25G5k0KR056033@critter.freebsd.dk> <B34DEE15-DE14-4DC2-B6D0-F0CD1823EC30@mnot.net> <20220616062211.GA28947@1wt.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <56835.1655364914.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Thu, 16 Jun 2022 07:35:14 +0000
Received-SPF: pass client-ip=130.225.244.222; envelope-from=phk@critter.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1o1k2I-0002GQ-FW 47a646c95898e76bd202f1f3a928873c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: A structured format for dates? (future leap-seconds)
Archived-At: <https://www.w3.org/mid/202206160735.25G7ZEW2056837@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40118
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

--------
Willy Tarreau writes:

> The epoch-based representation also has the benefit that you're not required
> to have to guess a timezone nor to be confused by ":60" resulting from a leap
> second once every few years.

(This is slightly off-topic, so I modified the subject.)

Just in case one of you end up with the category "Unforseen
consequences of green-house-gas pollution" on Jeopardy:

It used to be that, like clock-work, we would have a leap second
every 18 months, but that is no longer the case.

The first deviation was the lack of leap-seconds between 1998 and 2005.

The second deviation is that we have not had a leap-second since 2016.

Currently have no idea when, or strictly speaking even if, the
next leap-second will happen, nor what sign it may have.

Until now all leap-seconds have inserted 23:59:60, the next one
could instead delete 23:59:59.

But dont worry:  At least two members of the of the global
"leap-second-conspiracy" have tested their software for that :-)

The underlying cause is almost certain to be climate change:

Redistribution of land-locked water changes the Earth's center of
gravity, but there may also be local effects, such as reduced
core-mangle friction from less ice on Greenland.

Wikipedia has a plot going all the way back to 1972:

	https://en.wikipedia.org/wiki/File:Leapsecond.ut1-utc.svg

(The vertical jumps are the previous leap seconds.)

If you want to follow along, the official "Bulletin-A" lives here:

	https://datacenter.iers.org/plots.php?id=6

(Leap-seconds are "UT1-UTC", but notice also "dX")

May you live in (geophysically) interesting times...

Poul-Henning (Wearing his leap-second-conspiracy hat).

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.