Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two specifications on timestamps nearing WGLC
John C Klensin <john-ietf@jck.com> Fri, 04 November 2022 14:02 UTC
Return-Path: <john-ietf@jck.com>
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 AEC63C14CF1F; Fri, 4 Nov 2022 07:02:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
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 OgPcoEMSJYMj; Fri, 4 Nov 2022 07:02:15 -0700 (PDT)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 206A0C14CF1E; Fri, 4 Nov 2022 07:02:14 -0700 (PDT)
Received: from [198.252.137.10] (helo=PSB) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1oqxGs-000KTB-ML; Fri, 04 Nov 2022 10:02:10 -0400
Date: Fri, 04 Nov 2022 10:02:05 -0400
From: John C Klensin <john-ietf@jck.com>
To: Edward Welbourne <edward.welbourne@qt.io>, Paul Kyzivat <pkyzivat@alum.mit.edu>
cc: sedate@ietf.org, art@ietf.org
Message-ID: <86FE5A8D9225A9B1FA9A1391@PSB>
In-Reply-To: <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> <DU0PR02MB8218E7CDC8BAE84754810A62873B9@DU0PR02MB8218.eurprd02.prod.outlook.com>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.10
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <https://mailarchive.ietf.org/arch/msg/sedate/nuqnvObF1WcoJrdev6oZ3C5ukWs>
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 14:02:16 -0000
--On Friday, November 4, 2022 09:49 +0000 Edward Welbourne <edward.welbourne@qt.io> wrote: > > 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. Actually, well, almost. Going back to the example I gave, Jamaica is often identified as "EST". So, in the winter (starting Sunday here) is Boston. But Boston switches to "EDT" while Jamaica does not. This is why many calendar systems identify locations, not by offset or traditional three-letter zone name but by, e.g., "America/Cayman" (same time zone as Jamaica in recent memory, but potentially subject to the issues that you and Paul raised because the political authorities are different). This, of course, goes directly to your comment below about specification by representative city. > --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. Exactly. >>> 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. I can't speak to "usually" because there have been assertions on the SEDATE and other lists about, e.g., time zone offsets in fractions of minutes, something I had not heard about "normal" populations (as distinct from, e.g., scientists with specific needs) using before. Certainly I have seen representative city names used in the TZDB, calendaring programs, and elsewhere, but, as you sort of point out, finding a "representative city" given a city or village name can be a challenge. As an example, take two fairly small communities, about a half-hour drive apart, in Arizona called Tuba City and Gray Mountain. Both are in MST during the winter months. Tuba City switches to daylight time; Gray Mountain does not. For most people, especially those who have never heard of either, figuring out a "representative city" is a challenge. For Gray Mountain, it turns out to be Arizona/Phoenix, almost 200 miles away, more or less to the south. For Tuba City, I believe it is America/Denver, closer to 600 miles northeasterly. I think that puts us largely in agreement, but I think we are talking about applications that the SEDATE specification is not adequate to handle, at least without either latitude/longitude information or a supplemental database that identifies all of the localities in the world with their mappings to representative cities over time. I don't know whether the SEDATE document (and the proposed IXDTF) requires additional extensions to allow identifying a precise locality or whether the definitions of scope and applicability in Section 1 "merely" need additional explanation, but it does not feel to me as if it is quite finished yet. best, john
- [Sedate] Two specifications on timestamps nearing… Carsten Bormann
- Re: [Sedate] [art] Two specifications on timestam… Martin J. Dürst
- Re: [Sedate] [art] Two specifications on timestam… Carsten Bormann
- Re: [Sedate] [Cbor] [art] Two specifications on t… Michael Richardson
- Re: [Sedate] [art] [Cbor] Two specifications on t… Carsten Bormann
- Re: [Sedate] [art] [Cbor] Two specifications on t… Michael Richardson
- [Sedate] Antw: [EXT] Re: [Ntp] [art] [Cbor] Two s… Ulrich Windl
- Re: [Sedate] [art] Antw: [EXT] Re: [Ntp] [Cbor] T… Carsten Bormann
- Re: [Sedate] [art] [Cbor] Two specifications on t… John C Klensin
- Re: [Sedate] [art] [Cbor] Two specifications on t… Edward Welbourne
- Re: [Sedate] [art] [Cbor] Two specifications on t… John C Klensin
- [Sedate] Antw: [EXT] Re: [Ntp] [art] [Cbor] Two s… Ulrich Windl
- Re: [Sedate] Antw: [EXT] Re: [Ntp] [art] [Cbor] T… Carsten Bormann
- Re: [Sedate] [Ntp] Antw: [EXT] Re: [art] [Cbor] T… Tony Finch
- Re: [Sedate] [art] [Cbor] Two specifications on t… Carsten Bormann
- Re: [Sedate] [art] [Cbor] Two specifications on t… John C Klensin
- [Sedate] Antw: [EXT] Re: [Ntp] [art] [Cbor] Two s… Ulrich Windl
- Re: [Sedate] [art] Antw: [EXT] Re: [Ntp] [Cbor] T… Carsten Bormann
- [Sedate] Antw: Re: [art] Antw: [EXT] Re: [Ntp] [C… Ulrich Windl
- Re: [Sedate] Antw: Re: [art] Antw: [EXT] Re: [Ntp… John C Klensin
- Re: [Sedate] [art] [Cbor] Two specifications on t… Martin J. Dürst
- Re: [Sedate] [art] [Cbor] Two specifications on t… Carsten Bormann
- Re: [Sedate] [art] [Cbor] Two specifications on t… John C Klensin
- [Sedate] Access to club standards (Re: [Cbor] [ar… Carsten Bormann
- Re: [Sedate] [TICTOC] [art] [Cbor] Two specificat… Joseph Gwinn
- [Sedate] Antw: [EXT] Re: [Ntp] [TICTOC] [art] [Cb… Ulrich Windl
- Re: [Sedate] [Cbor] Antw: [EXT] Re: [Ntp] [TICTOC… Carsten Bormann
- Re: [Sedate] Antw: [EXT] Re: [Ntp] [TICTOC] [art]… Joseph Gwinn
- Re: [Sedate] [Ntp] [TICTOC] [art] [Cbor] Two spec… Danny Mayer
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Carsten Bormann
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Danny Mayer
- Re: [Sedate] [Ntp] [art] [TICTOC] [Cbor] Two spec… Doug Arnold
- Re: [Sedate] [Cbor] [Ntp] [art] [TICTOC] Two spec… Carsten Bormann
- Re: [Sedate] [Cbor] [Ntp] [art] [TICTOC] Two spec… Barry Leiba
- Re: [Sedate] [Ntp] [art] [TICTOC] [Cbor] Two spec… Edward Welbourne
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… John C Klensin
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Edward Welbourne
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… John C Klensin
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Steffen Nurpmeso
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Edward Welbourne
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Paul Kyzivat
- Re: [Sedate] [art] [Ntp] [TICTOC] [Cbor] Two spec… Edward Welbourne
- [Sedate] Antw: [EXT] Re: [Ntp] [art] [Cbor] Two s… Ulrich Windl