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

Edward Welbourne <edward.welbourne@qt.io> Tue, 01 November 2022 13:33 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 D626FC14CF09; Tue, 1 Nov 2022 06:33: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_DNSWL_NONE=-0.0001, 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=unavailable 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 CZc6yNKUaxOL; Tue, 1 Nov 2022 06:33:10 -0700 (PDT)
Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2116.outbound.protection.outlook.com [40.107.247.116]) (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 CB5A4C14CE30; Tue, 1 Nov 2022 06:33:09 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aCehdBGa9vXy0MSlZ1BsjZRp4xuq0HN8LQpQfSqhOQ94XiM1rh5gWU4cjRkHByJ285Vqw39UWRj0w3s+90xQSSvt+IIcxtiusZAyKPL8FK3+o4sej4HdWazy1NmxHt1sEaLrY0lxACDla15OTIATPeG049CQm26xmaM6IKnHWfTaa6nhI4C28dkFRfzVn8UDm7xhr5LO+APajdTpqEhS9D9xonCCNEchPtx+EdrH1vKnUJYQipqOomSSq2HGFuoQkSMx4BtGIM9LL1FjxIneEjm36hGFAwpkAYxR4CWGGLjBC0Goe1aNlmBRXsrvfRDCc+xvY74iJN0JXKQqLAoAIQ==
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=zTjF24HhM9zl4PwOjYjJ+rGOzgCnAV1E3YIzosdkyEQ=; b=a2B8DMqDsoA7pCr6LIfK1RHbAQLFzEcqWwJlc51NcSaQhnvoDsyO6Qhiq22KcKX6E9clfcgkdQRbMwr9Br3Bd04uTDORsb2ZmxqqPx4j64f0E6jOrjrfP5Ea1AEiF5ql201KYT3TmyH8ZgELaou1UIN35XGllvRYRN9QNbrBRvn3dNOwr6mRt8qrqwlYajx0meOyloXvCEFOMSjyvuLtAsKYORotFZcynl9sJRYjkJtBQeyzhrRDYwFaXeh4tYqDKdhWmlsch5HUFQlvFnGSoIqPBLZdvDPonZK10YLcMTXpH/ZDpY+DDsnq9bpoQ0aVCg56eyKA03o8ww6HV/CRSA==
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=zTjF24HhM9zl4PwOjYjJ+rGOzgCnAV1E3YIzosdkyEQ=; b=gx65OlwilQM+1FMLHeNRaVD/RetlXHlEfwIKFppCTq4w+uV5IjSTve8F6Iz3XZFbCYJ43MugeKIgGeOtlR2ldx+QvgUsIRz7+/Jt4O4EjI+/hckQ/86c66OzzXjsRCd+ihMNGiSKzwFHkt5BaUSntszjmFFgaTEBamX8vm4l2kE=
Received: from DU0PR02MB8218.eurprd02.prod.outlook.com (2603:10a6:10:312::9) by DB9PR02MB8347.eurprd02.prod.outlook.com (2603:10a6:10:396::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.21; Tue, 1 Nov 2022 13:33:05 +0000
Received: from DU0PR02MB8218.eurprd02.prod.outlook.com ([fe80::590:e1f9:443f:3b5c]) by DU0PR02MB8218.eurprd02.prod.outlook.com ([fe80::590:e1f9:443f:3b5c%7]) with mapi id 15.20.5769.019; Tue, 1 Nov 2022 13:33:05 +0000
From: Edward Welbourne <edward.welbourne@qt.io>
To: Doug Arnold <doug.arnold=40meinberg-usa.com@dmarc.ietf.org>, Danny Mayer <mayer@pdmconsulting.net>, Carsten Bormann <cabo@tzi.org>
CC: "art@ietf.org" <art@ietf.org>, "sedate@ietf.org" <sedate@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, "ntp@ietf.org" <ntp@ietf.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: [Sedate] [Ntp] [art] [TICTOC] [Cbor] Two specifications on timestamps nearing WGLC
Thread-Index: AQHY7fL8yLq+DOnAZkO+0AzraI8tDa4qDV98
Date: Tue, 01 Nov 2022 13:33:05 +0000
Message-ID: <DU0PR02MB82188BB71330B787CED6172887369@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>
In-Reply-To: <AM7PR02MB57659BCEB54EF696BF2BE2ACCF369@AM7PR02MB5765.eurprd02.prod.outlook.com>
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_|DB9PR02MB8347:EE_
x-ms-office365-filtering-correlation-id: 1a88dfa2-3336-403f-861e-08dabc0d9b5f
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: e1LfyOwVWWHD8ToujkZJohg7cRsjalWg7hoHpeZz8gBzfvLuduIvseOo0J38hh5bP4GNqz/9Htd7mndo7BnlN8J/QIUWwUC980NnUKM1Fuzl3AGbYhQDZFceW3iOM1XrfkanbKNEcFwLW9Ydgtj0gxlR2CGUTDjD6KcJf/2ukaaNClZFjJF9Ui9CDEWr/lbK4BkbjC+yGkvtezaAqyTQfV5x97PFqy5HgMWfjCC/tSUtWCDkd/6zP4NY8kFsn+/QaDSXhDta1wY7m16uev5YbBGmuqAuAAZ7+t6AJh+m8UPHSyQk7e5X8FbZPF7NE1n/wOnJ323vijWzolEKHnrwQqGapyeLLk49WbEyHJqDS5W3Cw8P4r0foc8pBqdsNb0iuZ4FFTf+vZFC4oV3RpbSzuaTCI5lIME6HKBszdznh2gkV3qUnbw399m4N4AKSjtbJ4BxzkWcn5UsoeWJGFT1G/iJnV1rgBdRw9f5Hzj+T+dQqASIGoqx5OYHFWN9ixJlkXk5HqBTB3aus+C9+iQiQW/Uqmvk6AlgA+hhOQ1puVwLKYuYu+mPGgwOpLJ7eLwPTzsx6A/4mTZBv0LmrO+vwKo5E4P27XDJtfhvu4aRD+u9O+Ib5CdVZ3tqRpdy6ajyQgJjIlq3xLZcF2YldiXliEtVW9YhPhnia33szhi8lU7qSZQpfwc0R93JeZC+9D05jO7gLCK/vLR2zrTyAgSnvPZ2ziV2lQfKR335mzHzn+XUPxbDpTPCTVf5ACPY3gDz/mc7a/gwp+VxV8eromwpXg==
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)(136003)(376002)(396003)(346002)(39850400004)(366004)(451199015)(55016003)(71200400001)(110136005)(478600001)(54906003)(316002)(66476007)(91956017)(7696005)(66446008)(64756008)(8676002)(4326008)(6506007)(66556008)(66946007)(76116006)(122000001)(26005)(38100700002)(5660300002)(41300700001)(9686003)(8936002)(52536014)(38070700005)(33656002)(86362001)(186003)(2906002)(44832011); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: +gRjRjaxUc3/ydb9eBHXW+/Gki3MtpfhudNsniKCreEs0wz7m52AY+E6xm2AgPfC4LNcl6qnejcHw67/qNUHCjo/BBc1tXk+Gt0dqF5sVrZf6oZyudXsBR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VfqK/+VY1N8PG2LtC+ftu3ITAraSg/i2dkI/i3WNS0VWmwwX/IHCZGfymWQQmV1GahJGfhlk/B3Wl1VPumeLtWIFPFuPzfgeButl/6baHhNRe7IadFDbdNyv0e18xDL0ZjIHHz7i+wD36jdhTXQCVsyi3W/Dq5MsohwyNykpzblQ/LBVAC9B5kh03JUHBXZtCIoYMC9s0++NRqGLUUI4AFGYnRdjuxddhIYMPYQ2vdIXnH3F47y/4bkKRPS+291++OjF71ZGy+oNqy/vMPOEJ4a6XTb5ovGgX6zi/FVggETZbX6j/DyM2hzBwshuvcQmdAc7pnsMu3SfBId1I1UFy62kBvz063n2OHBF5czR87wo0/flJuu4SXw40xGL0mL5B9Fxk8ZRJPWqKjV9A
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: 1a88dfa2-3336-403f-861e-08dabc0d9b5f
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2022 13:33:05.3515 (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: 0Y8+9byv597snIn49L+FfAWN2UcJkg38VzqUmHFJeKsF453mPAgiFsmzY6Z5qlAgivHIDMlF43k0XKNVdPhszQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB8347
Archived-At: <https://mailarchive.ietf.org/arch/msg/sedate/MiSZOttCc_ij6MqHncdk1_ygCs4>
Subject: Re: [Sedate] [Ntp] [art] [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: Tue, 01 Nov 2022 13:33:14 -0000

Doug Arnold (1 November 2022 14:06) wrote:
> I agree with Danny.  The proper way to handle time zones is at the
> presentation layer of an application that displays local time for
> humans.  Machines should never use local time for any other purpose.

I wish I could agree with you; all times are UTC inside the code, only
at the point of presentation do politicians' decisions mess with how
it's described.

However, when the user is booking an event several months in advance,
they want to say "that day, that time on that day, in the local
time-zone of that place" and, if the politicians change that zone's
offset from UTC, or DST habits, in the mean time, the calendars that
hold records of that event should all preserve the time and date in that
zone, not the UTC time, of the event.  So they have to store the event's
timing relative to a specified zone.  Consequently, therefore, the data
exchange formats by which calendars tell each other (via content
inserted in e-mails, as often as not) those details need to be expressed
in terms that document the zone and how the time is understood in that
zone.  There are lots of other situations where software *must* likewise
handle zoned date-times.

Then there is the fuzzy zone of what counts as displaying it to humans.
When a web-server lots an error, it's going to convert the time into a
human-readable form to include as a timestamp in the log file.  The
human who is going to read it may well find it more intelligible if the
formatting used is their local time, or the standard zone of the
organization whose server it is, even though that has some weird
behaviour at two points in the year, one of which skips an hour, the
other of which repeats it (with a different offset suffix or zone
abbreviation).  Until the human looks at the log file, it's not being
displayed, but still it goes into the log file in human-readable form.

Having said all of which, I do totally agree with Danny - please keep
anything at all to do with time-zones as far away from NTP as possible,

	Eddy.