Re: A structured format for dates?

Mark Nottingham <mnot@mnot.net> Thu, 16 June 2022 04:27 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 8FDBCC1595E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jun 2022 21:27:52 -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=iFeXpAcF; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=FdPRvs4O
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 jYHlmdG1dJYM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Jun 2022 21:27:47 -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 E84C9C14CF05 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Jun 2022 21:27:47 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o1h2u-00015C-OR for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Jun 2022 04:23:52 +0000
Resent-Date: Thu, 16 Jun 2022 04:23:52 +0000
Resent-Message-Id: <E1o1h2u-00015C-OR@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 1o1h2s-00012T-SE for ietf-http-wg@listhub.w3.org; Thu, 16 Jun 2022 04:23:50 +0000
Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mnot@mnot.net>) id 1o1h2p-0006Rf-LF for ietf-http-wg@w3.org; Thu, 16 Jun 2022 04:23:50 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id CB6585C00DE; Thu, 16 Jun 2022 00:23:35 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 16 Jun 2022 00:23:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :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=1655353415; x= 1655439815; bh=kGAj9a5Ck0KWxjLKFrV/8YnauoEcLfLgT2rT6JXu+bw=; b=i FeXpAcFq/bh5z+5NC4PKwyFghK607OHWfdyj2w51JsP7i5Oz+/XcPFrCW8vZFa1f VA8REnh7mbfVdyoMP0JBumftU9zyI6W/5xO2uapUbvJrpsBAKTsGkULO4P4uR4nP U8MYK2ewfA8K7RxRB8XjnrqK37ZKLQpwy/UmD0ugmVqP4NyscJ7S4M9dGZ83OYHN Ucp0IBBxhbKx6sWBQA8ETLkRJt/Dz8GpqyJn7BQQoFrbFkIDDyDCY1WitdRajI5u N92BIGynFP8xAEldMlWdaMzj3LQYQHvepUJ368LJUfaunKvBH9o+Nx0IN9ehYydU RpJs6T5YtSEPaR/2aO/FQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1655353415; x= 1655439815; bh=kGAj9a5Ck0KWxjLKFrV/8YnauoEcLfLgT2rT6JXu+bw=; b=F dPRvs4OLRWE9+H0Z/3cewVpbBZ2x8ldHAb+yyATM6klE8xrZn+/41q+QBKHfP6Wu YtPZVGZMiWQiHO+XpQ6QhsmK7wH4AFaKX9WLBE5c7snXBE+X8YYxKTiIksXCJC2B 8eI/KqNCm5yGdAW8uHY/IkOYPYWCfi6aocfg963JAicF/shUB7onv56iHTwO6XgV 7sNLSQGDVChDL2E//SUl3E23UkUYDOJpDyTCq9i1LyP7OV809A2+p5KylXbCnSHK Sxvcbg3v13pL7EKxBQDDVlD5GpDDZdmLL8y0K3UHbwoRW0AKwRI6n4AMYZx54g2N 0K/TrUyZZkfezOqV9mNHw==
X-ME-Sender: <xms:R7CqYiHMBzeKJVtCJnstWdlICdlBmnFmd7qkOUGp8LoMJaazxGaCBw> <xme:R7CqYjWsGYTMl0mzDv1NJzDHbiip7NhLUzgOzwR6puKTw23YYQy_wpWhryGNYFuCq 5SrHN-8AJgIolI7Nw>
X-ME-Received: <xmr:R7CqYsJI4v2DKA31LXdCiAzTUwlrcDQNISJfTCkZid7rAL4CewvhVAtEkc4mJarlE3oFjSjbH5TvsSvu5fH6qAix5Jzdotc3xZjl_bJhTP0uwS3LI0KqfkMQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedruddvvddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpegtggfuhfgjffevgffkfhfvofesth hqmhdthhdtvdenucfhrhhomhepofgrrhhkucfpohhtthhinhhghhgrmhcuoehmnhhothes mhhnohhtrdhnvghtqeenucggtffrrghtthgvrhhnpeetuddtieehtdeuleduudeuhefgve eiuefggefhtedtheeiieehvdffieetteefhfenucffohhmrghinhepghhluhgvlhhoghhi tgdrtghomhdpghhithhhuhgsrdgtohhmpdhmnhhothdrnhgvthenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:R7CqYsGycvrH0W_cIrNnhiRzGyQQRphC5lpEye7usVFQaIZrIZCgag> <xmx:R7CqYoVGnxPy9aRJx5Asgo4UNgPxYG9CVWu7_xDKnj5SoXjagXEOtw> <xmx:R7CqYvMgr03AM4DNBiUV8MDqg9l2EE4roCaFg99I8rQYeFKKbUr8HQ> <xmx:R7CqYjf1Clb37LGrCy216dLY8oApxjV28U97doMIGhdiW0tqiL76Fw>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Jun 2022 00:23:34 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <YqqvMFbszynHQ0l9@xps13>
Date: Thu, 16 Jun 2022 14:23:30 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <623002F5-C5B7-478F-9D8F-2B71EABFD87E@mnot.net>
References: <8C9C4A5C-45DB-43C0-9769-2A7510854AB1@mnot.net> <YqqvMFbszynHQ0l9@xps13>
To: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
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: titan.w3.org 1o1h2p-0006Rf-LF e553b773efa85cdf3fe576bce9145216
X-Original-To: ietf-http-wg@w3.org
Subject: Re: A structured format for dates?
Archived-At: <https://www.w3.org/mid/623002F5-C5B7-478F-9D8F-2B71EABFD87E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40112
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>

Hi Glenn,

> On 16 Jun 2022, at 2:18 pm, Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> wrote:
> 
> On Thu, Jun 16, 2022 at 11:54:26AM +1000, Mark Nottingham 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?
> 
> +1 for ISO 8601 date format with 24-hour time notation (RFC 3339)
>   (without the '@' ?)

Structured fields requires a sigil character to identify a type in the textual representation -- `@` seems appropriate for a date.

Cheers,



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