Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two specifications on timestamps nearing WGLC

Edward Welbourne <edward.welbourne@qt.io> Fri, 04 November 2022 09:49 UTC

Return-Path: <edward.welbourne@qt.io>
X-Original-To: sedate@ietfa.amsl.com
Delivered-To: sedate@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7457C152711; Fri, 4 Nov 2022 02:49:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.68
X-Spam-Level:
X-Spam-Status: No, score=-2.68 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=qt.io
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 AZpcXlsT6Udl; Fri, 4 Nov 2022 02:49:10 -0700 (PDT)
Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2119.outbound.protection.outlook.com [40.107.247.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87C37C14CE25; Fri, 4 Nov 2022 02:49:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RBson64GJ0rSu6FUBeDIyq/vloAILQowyDaP31CnEQh2uAczuAMH0aauYKVU7C9d5odwj8aRFiVCyA5okZIKrjZvLcExih26EHyYpvcJlbImxLB55KtJroHZqAz1wMBrnhsjNddKlymmfs2r6MJGYkWgREQScYiXhF2FL+pRx4fCPTE2wCJKIoL4ujicoI7HvAKZTGMe8Z5s8BUEPGzmGGEI3Iax8JUpl8TMXzYZ5M7mBvM4ftA1A+17JUrxLemJ5MLAMoNeJR54xJYmr1Azji+kAivISwvQovr99ksPfbYRxuVXW7hl+DJiuAQP59UWzozzx03cEiXaujCnfC/X9Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nrQHdSPGkGHmnHAxI52viP6koy+v/vCrkygsUiNAVYY=; b=Uw36hTgCHC1aZ2K06G9xFJI9swh0NEOqYo9ljW4JKjbRQTdk+KTYLMT0E68xP0xaiu5WObAeyscpbC+MFBz51GEmUHYXWGwf9Vg6PfguQnXAMkt/F0i8OBnD1BJsysOjWoSX6RL9aUtjqKhnRTCf//Lf8O3MmjloBN/GZfLtEwthpzhgfVmIldAdrSrEMBF6naV1MeE5p0locg+25LNLIVSg4TUvUjQWB2l63nsp+GIJZvBbT4EpuVJFunwqd0eemgTpadrzN/zAztRnyhYLQtaQNRLECz74Mi8y7Mj4OpdaFQwywA6AumNbY7c2LwJ7As/q7UAjE8XNv2ytgC8Iyg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qt.io; dmarc=pass action=none header.from=qt.io; dkim=pass header.d=qt.io; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qt.io; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nrQHdSPGkGHmnHAxI52viP6koy+v/vCrkygsUiNAVYY=; b=if2h+dES1/urBpDuT1fgY4KZMSplviejCJKq+MKoy1SOzKD53LURNROonlRKISrZvnTIcZKD03FOmUn1seYxDRlP7ICGZKI58z62O4pfRNUHWN7PEALkJGcOJyA2lFi588Ukr+VGD1bEaMPZ8OK7IJ4oTttoUPE2SL1owJ4xN/Q=
Received: from DU0PR02MB8218.eurprd02.prod.outlook.com (2603:10a6:10:312::9) by AM0PR02MB5876.eurprd02.prod.outlook.com (2603:10a6:208:183::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Fri, 4 Nov 2022 09:49:06 +0000
Received: from DU0PR02MB8218.eurprd02.prod.outlook.com ([fe80::590:e1f9:443f:3b5c]) by DU0PR02MB8218.eurprd02.prod.outlook.com ([fe80::590:e1f9:443f:3b5c%9]) with mapi id 15.20.5791.020; Fri, 4 Nov 2022 09:49:06 +0000
From: Edward Welbourne <edward.welbourne@qt.io>
To: John C Klensin <john-ietf@jck.com>, Paul Kyzivat <pkyzivat@alum.mit.edu>
CC: "sedate@ietf.org" <sedate@ietf.org>, "art@ietf.org" <art@ietf.org>
Thread-Topic: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two specifications on timestamps nearing WGLC
Thread-Index: AQHY7/DTTfmmYkUaTk+1Z4isdo67Ja4uekj5
Date: Fri, 04 Nov 2022 09:49:06 +0000
Message-ID: <DU0PR02MB8218E7CDC8BAE84754810A62873B9@DU0PR02MB8218.eurprd02.prod.outlook.com>
References: <19C0959C-2DFF-4FA6-9691-792CD2AF5E09@tzi.org> <f7a05134-7ec0-411a-fcc5-d0e80c74d6c6@it.aoyama.ac.jp> <2620A4D0-F624-4E31-BDD1-860B40F7A31D@tzi.org> <193653.1665119732@dooku> <CA4866D1-C1E7-4C58-9D85-088A02885FD0@tzi.org> <9621884E0BC501528B6BB591@PSB> <F30D7B75-B3D3-4B99-83B7-809B2EF4B760@tzi.org> <8ED6029F05884D21580EA2AF@PSB> <958a7cca-95df-6f81-54d3-d3dd6fd9b617@it.aoyama.ac.jp> <AF5F7BC2-6D57-4B9E-9020-8A4724C13D99@tzi.org> <20FC2DF5DF55E51A8202D52D@PSB> <20221020180542798954.c6a9917e@comcast.net> <bcf9c293-6332-36e1-c5eb-edd8b662e571@pdmconsulting.net> <A720EFB5-FBB7-4AAC-99E8-26B907E6D2D3@tzi.org> <0661554d-ae98-79da-359e-248ab6cb9647@pdmconsulting.net> <AM7PR02MB57659BCEB54EF696BF2BE2ACCF369@AM7PR02MB5765.eurprd02.prod.outlook.com> <DU0PR02MB82188BB71330B787CED6172887369@DU0PR02MB8218.eurprd02.pr od.outlook.com> <a1006965-36ef-caed-99a0-de26cbb1d315@alum.mit.edu> <45F13D65EA0B83A5F79A4B40@PSB>
In-Reply-To: <45F13D65EA0B83A5F79A4B40@PSB>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=qt.io;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DU0PR02MB8218:EE_|AM0PR02MB5876:EE_
x-ms-office365-filtering-correlation-id: 9a70b081-751e-4e8d-e0a4-08dabe49d085
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: H0cfCVZX5Tr8NqLCSdZwaBywrbkTGW5Bihar1Ecczjt38bAYrNhngN46QYedFMuzMNKoeh4lGnLORiozXl6Gvf6qh68kqNNfHxn1hIfnOWWv8azT2MGrqNY3EN7S5YOEKrQmBqI2ka5EcjS2VDJyUBrbIxzkmY2XV7RHKpQQuBuog4Qc5ndGLR1CXm0kvBKNwVfzKUJC035X27SLskjmEk8bH1lrHJzD65MaDBgKniApXRFvjCt/o2t1xf0rcKBqsDXpQ32UBdFvAr/NrbzGhJXT4VvOQwBfptGhQ5XM71b9NvkQpe7K6Ari2/kUcLsCVadbp7kRI8PML2fmshwMn6B4TtgRf8KTU/OLnb2SGdf0THMhlGamd7Fp+FnX2CFh4k8l2F6x+iLhitX25UECwgW7g34w+Yncazr82YYT/jhE7pXYOSag20RwW6O6dl4PXMIjXlNYYlILpHy7TAZ0LRgyFD+d9wtSAgcxIy8yZ/0ShMv58ZEVqOGlXm4X+QJBPoPz1tsY9BwHMoZXkp5gnKCeEKSQVChggKQcZ3CeP2S9DROpqOCl2n6NVRcR4njuXhvCu5IbJv0VMR2XGi5Fu7M8+lktktbU6xfsLlseNEZcIkaXVpR/m12LU9eh9kU+C5ocKquDjRoBRZxVOh3RgD135xWcGn9VzTRxW5ixYB1gBsEqJEpu7hlkRSh5kDXwx5qptQxXKAuHEla77BTMDueg41z7xQleMYV1KNCg7yrFH7fX72CZHzCk98QvZnAgAKSPSAAZw+PZlPHYMZMn6g==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR02MB8218.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(366004)(39850400004)(396003)(136003)(376002)(451199015)(66946007)(55016003)(33656002)(76116006)(4326008)(8676002)(66446008)(66556008)(71200400001)(44832011)(110136005)(54906003)(38100700002)(52536014)(5660300002)(8936002)(316002)(122000001)(2906002)(64756008)(91956017)(7696005)(83380400001)(26005)(9686003)(186003)(66476007)(38070700005)(53546011)(6506007)(41300700001)(86362001)(478600001)(66899015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 7mUzAUOJubI2pINTUFmdSteeOiy+K9NpkHIc8LxPNYim2yLtGye0c0M5bIHUSdeMM0Hxr7FUlYch7z/yvbX969oKtZA71lVaPECYzPgAFR65dhxbSuW8DYkJn8qzcxBAN0XRHkF7nc2JG7zAiIX+PPLM4UO9x6nrl7qPS8weqJI95oVrasCK1oPbMVrU/tE9Z/mSfTc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vd5LoeMzMuJBJYgV5MhBhqvr8vGibjhqIy3ICfDSuFZ+/gMj3hZWTzroF75jCu898NEanFwIw5r10pi66lW+g/YdOf1rsjLnszUxNU7UuNdeuSV7ut6YoqjzVQy/1Uu2IuD5pJdqnuzk02jXG2AaGqd9en2IW5cOXdwJ4GbUo4NWDwDhUTyU17kVRRC4xbJ557NMLPmeL3LgFaRLUsw5uLulakO5pYH7xvdfEC6Wv3EKkvT3hgEuVBr/vBa3xMndDh7F0o5m7hcElSxZ4jT/21fvibdpQQjxToIuLh8k9aF/+RKj/RWTH9
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: qt.io
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB8218.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9a70b081-751e-4e8d-e0a4-08dabe49d085
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2022 09:49:06.6515 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 20d0b167-794d-448a-9d01-aaeccc1124ac
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: HfpbJjCP4CnFCS1HWu9V/bVLrWwZ/m3CqXN+FJSsKfYUUDQQ/cD8L+czJVI8/TLpiwSn1RtizucNivyljIBAyQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR02MB5876
Archived-At: <https://mailarchive.ietf.org/arch/msg/sedate/gOR2a5GlLv-QT1AXDojHh0acUi0>
Subject: Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two specifications on timestamps nearing WGLC
X-BeenThere: sedate@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Serialising Extended Data About Times and Events <sedate.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sedate>, <mailto:sedate-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sedate/>
List-Post: <mailto:sedate@ietf.org>
List-Help: <mailto:sedate-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sedate>, <mailto:sedate-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Nov 2022 09:49:14 -0000

On 11/1/22 9:33 AM, Edward Welbourne wrote:
>>> [snip] So they have to store the event's timing relative to a
>>> specified zone.

John C Klensin (4 November 2022 02:57) replied:
> Not enough, even before getting to Paul's corner cases.  Suppose
> it is not, summer in the location where the event will be
> located and the only time zone information is an offset.
[snip]
> If all the information we have available is a time zone
> expressed as a numeric offset, there is not enough information

That's why I said to specify the zone, not its offset at some specific
time.  A zone (usually implicitly) contains information about how its
offset varies with time.  An offset is, indeed, insufficient.  A zone
is, aside from the cases Paul points out, enough.

--On Tuesday, November 1, 2022 11:18 -0400 Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
>> Interesting corner case. But is solving it worth the hassle?

Yes.  When I'm organizing travel, it's mildly irritating that I can't
set the start and end times of the flight in different zones (the way
the airline tells me them), but I can cope with making the needed
adjustment to one of them so they're expressed in relation to the same
zone.  I get the train time at the other end, on the other hand, from a
rail information system that takes its zone for granted, and I'll be in
that zone by the time I catch the train, so I record it in my calendar
as being specified in that zone.  The calendar duly shows it in the
"block diagram" of the day converted to whatever zone I'm currently in,
so that it's correctly positioned in relation to my flight, but when I
look at the details of the train journey the calendar remembers that
those are *specified* in the destination zone, not my current one.

That's important because, aside from not wanting to do the zone
conversion in my head for every step of the journey at the other end, it
gives me reassurance later that I did in fact remember to use the right
zone for that part of my planning; I'm not going to get a nasty shock on
reaching the station, discovering that I've missed the train by an hour,
or that I have an hour to wait.  And my 'phone auto-switches zone for me
when I switch it back out of airplane mode on landing.

All of which is relevant even if the zone doesn't change its rules
between planning and execution.

>> If so then what about the situation where the politicians
>> redefine how a particular area is divided up into time zones?
>> For example, where it is decided to carve out a new set of
>> time zone rules for a subregion of an existing time zone. Or
>> if a city near a time zone boundary is moved into the
>> neighboring time zone. What would be required for calendars to
>> handle this?
>>
>> These are rare events, rarer than changing the rules for an
>> existing time zone. But neither happens very often for any
>> given place. Where do you draw the line and say "we'll let
>> people deal with this manually".

> Or, as an almost-different question, "where do you draw the line
> and extend the syntax to allow a precise latitude and longitude
> as well as a conventional time zone?".  Presumably, that
> information, or something else that identifies a locale
> geographically rather than politically, would be needed for a
> user (or a rather smart agent acting for a user) to make the
> sorts of adjustments Paul describes above.    And it is easy to
> imagine a user agent/ presentation layer smart enough to accept
> "10AM in Kingston, Jamaica on the fifth of July 2023" and
> putting "2023-07-05 10:00 -0500 18°00'N/76°47'W" or equivalent
> into a calendar database in some appropriate format.

Ideally, in fact, the calendar would record "Kingston, Jamaica" instead
of a latitude and longitude.  There may be some cities which straddle a
zone boundary, in which case it may be necessary to distinguish their
West and East sides.  That records something the user will understand
when it's displayed to them and is what software has some chance of
knowing about.

Of course, usually time-zones are specified by a representative city;
the time-zone database doesn't know about other cities, although
potentially someone could compile a database of such to supplement what
the TZDB knows.  So Paul's corner-case remains a problem there -
thankfully, it is significantly rarer than politicians changing the
rules of the zone you're dealing with.

	Eddy.