A structured format for dates?

Mark Nottingham <mnot@mnot.net> Thu, 16 June 2022 01:58 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 4C5E7C14CF16 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jun 2022 18:58:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.761
X-Spam-Level:
X-Spam-Status: No, score=-2.761 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=V53DYq41; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=W28buRd/
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 ttYO5lZs8IoI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jun 2022 18:58:06 -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 1B5AAC14CF0B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Jun 2022 18:58:05 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o1eib-0003p4-4y for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Jun 2022 01:54:45 +0000
Resent-Date: Thu, 16 Jun 2022 01:54:45 +0000
Resent-Message-Id: <E1o1eib-0003p4-4y@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1o1eiZ-0003oB-Fz for ietf-http-wg@listhub.w3.org; Thu, 16 Jun 2022 01:54:43 +0000
Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1o1eiX-00030F-Ta for ietf-http-wg@w3.org; Thu, 16 Jun 2022 01:54:43 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 03F925C044F for <ietf-http-wg@w3.org>; Wed, 15 Jun 2022 21:54:30 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 15 Jun 2022 21:54:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1655344470; x=1655430870; bh=KmXLkJ1PUd tcufXSBxBlWrL4qGt9SSrf2hN0iNAYkHk=; b=V53DYq41uYrrU+aiNzFOy9IjD2 fKvC/5T3E8iJWEPFMcM9ijYfxNQ+4Hyb/HwGkpTIf0nBFMnbNQNxnx7sk7/nztFC 17pwyS7oDOsB64XdC66DoZNJvw7UshFGWJ5aiGa2NKmrQxV2mi4EmA6fpXNpTMVf RccppHtAFtan61ueCgH6du4ogz1niwVnxMAae5hj5VrKduZGf+4SPIefHkXbg8yg iv2rNlAv6n3S2n1CGU+8/EYdwFblClwtE+mcVIFdzFe4yCyjiUy6ofzE3YukXQiI 6salQFlVlz3cay2yg67/TEvDUp+xtjdKCGf5BE0YasDxDpKSFp0KyzBkBrwg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1655344470; x=1655430870; bh=KmXLkJ1PUdtcufXSBxBlWrL4qGt9 SSrf2hN0iNAYkHk=; b=W28buRd/qgrJ/392H26MoHc/ojW1Cb8ebTb4serUcUMu JjZQY9T7Du6lxvxBECstc2qS5kFiyNBoQqx2PfQezOG5wK+tlEnBtCmI5fJxKArj L7xsQxjIX+ykr3wTdwQov0lA/DfULuYsWxGImgqRPTKCNi48dSO0jU5DeZjYllNO A90x1uLhtsHKmyg2buGOjieG8DbyRZ6OPo5TlNWcV/TSff2z600+6PJf9PZDy1k+ L2yCZy6+bd6xIwi62gWjAXgLEQClfK5JxR4yMeIPZPDTSU3qhDfCmpIAWroWMK0x ba09UewVT4Ajdk4y5VrMyY1aNEJVmwDgmmcbly+lrA==
X-ME-Sender: <xms:VY2qYghj3kpGDupWa_yD_tFpSQjZLajSE98mSWHVELE8An40hrs9gA> <xme:VY2qYpB2_zAZEfFIwYlgKxEyaGVRPyy6YaolNF5UPfHIW_eMl3VnweMW9YmsB01QE CgH6HkZ73EeI-ZTUA>
X-ME-Received: <xmr:VY2qYoEza4VSN_yiJLhrNNbZxCElWne2xD8_hyDXsC_avI0thZIFXgOKbxXhfZIPY8E8iKYNIYx86JnMKOdd6nEHjwzFT1Vy2oGa-bHeZWftMHUC577RmiHd>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtddvnecuhfhrohhmpeforghrkhcupfhothhtihhnghhhrghmuceomhhnohhtsehmnhho thdrnhgvtheqnecuggftrfgrthhtvghrnhepjeehgeefvdefieefgeffkeeihfekuddvge duveeugfejheffjeevvdffkedvkeevnecuffhomhgrihhnpehgihhthhhusgdrtghomhdp mhhnohhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepmhhnohhtsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:VY2qYhRAurxtC9m27dkqkS6XTCYHo14zSXEmPwLe08SgCC6NUaYCLA> <xmx:VY2qYtwEk1eLNC1nWp29XKvwex5VJkMRmaEQRbo-da5bOtoXZAwH5w> <xmx:VY2qYv5VrSMiCDd_UxrX8a9MpBIhEwZjDSPg7Jj82XMkXAdpz_l-dQ> <xmx:VY2qYrbfwIAGgx9ZLo6GYRwRFjzqNUnI2lm5Dg8ker-VBF_qDGogug>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <ietf-http-wg@w3.org>; Wed, 15 Jun 2022 21:54:29 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Message-Id: <8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net>
Date: Thu, 16 Jun 2022 11:54:26 +1000
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.3696.100.31)
Received-SPF: pass client-ip=66.111.4.26; envelope-from=mnot@mnot.net; helo=out2-smtp.messagingengine.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=mnot.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mnot@mnot.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1o1eiX-00030F-Ta 57d87518e9f68ad982b1aec2e7939c8e
X-Original-To: ietf-http-wg@w3.org
Subject: A structured format for dates?
Archived-At: <https://www.w3.org/mid/8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40110
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>

I'd love to hear what people think about this issue:
  https://github.com/httpwg/http-extensions/issues/2162

In a nutshell, the idea is to define a new structured type for dates, so that instead of e.g.,

  SF-Date: 784072177

we'd have:

  SF-Date: @1994-11-06T08:49:37Z 

...as the textual representation. Obviously, if we ever do binary structured fields, its representation there could be more efficient.

Thoughts?

--
Mark Nottingham   https://www.mnot.net/