Re: A structured format for dates?

Mark Nottingham <mnot@mnot.net> Tue, 21 June 2022 06:49 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 7D228C14F692 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Jun 2022 23:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.639
X-Spam-Level:
X-Spam-Status: No, score=-2.639 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NO_DNS_FOR_FROM=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01, T_SPF_TEMPERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=neutral reason="invalid (public key: DNS error: SERVFAIL)" header.d=mnot.net header.b=iTygvBSq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=kI9Jf3YJ
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 l7byIZkI3165 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Jun 2022 23:48:51 -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 1B890C15D48F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Jun 2022 23:48:11 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o3XdH-0004J0-BK for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Jun 2022 06:45:03 +0000
Resent-Date: Tue, 21 Jun 2022 06:45:03 +0000
Resent-Message-Id: <E1o3XdH-0004J0-BK@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 <mnot@mnot.net>) id 1o3XdA-0004Gx-Du for ietf-http-wg@listhub.w3.org; Tue, 21 Jun 2022 06:44:56 +0000
Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mnot@mnot.net>) id 1o3Xd9-001hRS-NR for ietf-http-wg@w3.org; Tue, 21 Jun 2022 06:44:56 +0000
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6BC8D5C0197 for <ietf-http-wg@w3.org>; Tue, 21 Jun 2022 02:44:40 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 21 Jun 2022 02:44:40 -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:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1655793880; x= 1655880280; bh=SthNCzKvcvYikig3xERuyAgnHw1e4lvzOmMrxN78Q9s=; b=i TygvBSqdBUYOOrZ3IJ2d7DuJk94cLZo8QDkFXrJh8VuG4gMbVLxKVmjgCZZgtGvr MAVnyuYTRRpQhkrM9sKCu3uhW3VdSQCnGOrmMxBggjfT2YY7PJ+rua14D7N5UCRf ah9A/z7mEvb3MIAJ4YR12ZNvzy70dpQackuBewWHQu8+H+pzy7Sdpup6GLDTG9C3 5AFNYLKa0JwxDXOBwwT0v9pR3/UEN5jps+E0Lk9IO+hor395RuENie9b7uZOd31G D7BJffVBHA5AOs4fy/GUoL7ey7N3NMFvqhB/UGPPjnroRPj+vOgABVkBXHdFZw/1 Ku+0Hq0xdrZYz8lDX8MxA==
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 :in-reply-to:message-id:mime-version:references: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=1655793880; x=1655880280; bh=S thNCzKvcvYikig3xERuyAgnHw1e4lvzOmMrxN78Q9s=; b=kI9Jf3YJ5WKlWuaKL Ws0QtBDDhnD5VFk/coEpPxzHLnkiQrZyUoRdC6tuNdF2GlH5Ejc8XAmKtTPLnh44 IYIldYFQHSmx6i4L73fz+GBh3IChwPhQTvaHhn9msyA67F4J7TyFNUrQc49FRHGe xJCSjFcZr6CsrcdmmSvrRRv5dOlNB2OWjFyEMISIP9f4d7HmiX0PBCMWTesO1HML 0zhpv9JqFwl8Y0rQhjV4fEHx1dXdgrUdqoFeVfJlspQxjo2ZlBADz2RXYC8zGkWC NkkfOQy0tHnfkjHXmpT9Ar0dCiRbEP0S/JI8VQiB3CaSJ2k0XxMmRSUZ65sV52Yv 1q2Pw==
X-ME-Sender: <xms:2GixYodLq1rjpFZQovCySnGI3TYd8qj_hpjbRTww0B6xhKkrP_KdhA> <xme:2GixYqOONHtbH7om8BmFFSmAmG81DFfZrfxGJDavIIg7VFSbdtkymnaUNWjFaCGjS wdSl7D_Ft8BzD0YDw>
X-ME-Received: <xmr:2GixYpiFK322ZSD9pYDiqrj1p2FWPPcfW-sg6dQuCCJgD_UXAfcpnpvbzJ5zFevwBulpJpDGAwohe9Gv1hGGpDwea3Qpgj7WMBgWHdtDvb6WrUubN288adu2>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudefvddguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephfgtgfgguffffhfvjgfkofesth hqmhdthhdtvdenucfhrhhomhepofgrrhhkucfpohhtthhinhhghhgrmhcuoehmnhhothes mhhnohhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtteevueffueekffejheejfedtvd evueeltefgudehjeegjeeviedtvdejffehgeenucffohhmrghinhepghhithhhuhgsrdgt ohhmpdhmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:2GixYt_dkaJYhUHLNXEShg0Be6hxf0YjwU9OkzKg-eOIpKm1RALD3Q> <xmx:2GixYkuWSW2vF0ew6i8k6gnfmqdJDfdN8K8eiSP2rXg7EGxIdDedqA> <xmx:2GixYkH8Zr0vl5SrMH673_VDYEV0ZDQSjd9wTPsx2VHoFnS4k2-8JA> <xmx:2GixYq292gkUERv8JISFC_5bBtyWXSGg2ZwTNVtxcv7tVwRR7_zT3A>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <ietf-http-wg@w3.org>; Tue, 21 Jun 2022 02:44:39 -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\))
Date: Tue, 21 Jun 2022 16:44:36 +1000
References: <8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net>
Message-Id: <5CE5343D-EECB-4F25-A3DB-F300E7708656@mnot.net>
X-Mailer: Apple Mail (2.3696.100.31)
Received-SPF: pass client-ip=66.111.4.25; envelope-from=mnot@mnot.net; helo=out1-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: titan.w3.org 1o3Xd9-001hRS-NR bd008721daa36df99bf5a0f02698bdf0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: A structured format for dates?
Archived-At: <https://www.w3.org/mid/5CE5343D-EECB-4F25-A3DB-F300E7708656@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40196
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>

Just a heads-up:

I've linked a PR from the issue, to give people an idea of one way this might look.

Cheers,


> On 16 Jun 2022, at 11:54 am, Mark Nottingham <mnot@mnot.net> wrote:
> 
> 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/