Re: [Tzdist] Getting to closure Re: [tzdist] #31 (service): Include leap seconds?

Steve Allen <sla@ucolick.org> Mon, 15 December 2014 18:36 UTC

Return-Path: <sla@ucolick.org>
X-Original-To: tzdist@ietfa.amsl.com
Delivered-To: tzdist@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B5F01A8723 for <tzdist@ietfa.amsl.com>; Mon, 15 Dec 2014 10:36:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.79
X-Spam-Level:
X-Spam-Status: No, score=0.79 tagged_above=-999 required=5 tests=[BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vhkBr6tZPEUd for <tzdist@ietfa.amsl.com>; Mon, 15 Dec 2014 10:36:20 -0800 (PST)
Received: from smtp.ucolick.org (zilan.ucolick.org [128.114.23.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5A701A8720 for <tzdist@ietf.org>; Mon, 15 Dec 2014 10:36:20 -0800 (PST)
Received: from smtp.ucolick.org (localhost [127.0.0.1]) by smtp.ucolick.org (Postfix) with ESMTP id D75C5293E for <tzdist@ietf.org>; Mon, 15 Dec 2014 10:36:19 -0800 (PST)
Received: from geneva.ucolick.org (geneva.ucolick.org [128.114.23.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ucolick.org (Postfix) with ESMTP id C7E6028CD for <tzdist@ietf.org>; Mon, 15 Dec 2014 10:36:19 -0800 (PST)
Received: from geneva.ucolick.org (localhost [127.0.0.1]) by geneva.ucolick.org (8.14.4/8.13.8) with ESMTP id sBFIaJ0G032486 for <tzdist@ietf.org>; Mon, 15 Dec 2014 10:36:19 -0800
Received: (from sla@localhost) by geneva.ucolick.org (8.14.4/8.14.4/Submit) id sBFIaJXh032484 for tzdist@ietf.org; Mon, 15 Dec 2014 10:36:19 -0800
Date: Mon, 15 Dec 2014 10:36:19 -0800
From: Steve Allen <sla@ucolick.org>
To: Time Zone Data Distribution Service <tzdist@ietf.org>
Message-ID: <20141215183619.GD24475@ucolick.org>
References: <547CB645.70009@cs.ucla.edu> <547DC510.6070601@burnicki.net> <38D6ED22-7731-4CF0-8706-161BFAA87361@hanksville.org> <547DF9F5.5050209@lsces.co.uk> <20141202175206.GA11392@ucolick.org> <CADZyTk=iYwLWu1Rw8P+EJQAERL9sz9EKLC7Fos96LeDFScLvQQ@mail.gmail.com> <20141212213538.GA1266@ucolick.org> <548B6083.3070002@andrew.cmu.edu> <20141212215623.GA1295@ucolick.org> <548C6BBA.9070305@andrew.cmu.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <548C6BBA.9070305@andrew.cmu.edu>
User-Agent: Mutt/1.5.20 (2009-12-10)
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/g-x5maR9rfXr-STas4V9tLGRgCI
Subject: Re: [Tzdist] Getting to closure Re: [tzdist] #31 (service): Include leap seconds?
X-BeenThere: tzdist@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <tzdist.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tzdist>, <mailto:tzdist-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tzdist/>
List-Post: <mailto:tzdist@ietf.org>
List-Help: <mailto:tzdist-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tzdist>, <mailto:tzdist-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Dec 2014 18:36:22 -0000

On Sat 2014-12-13T11:39:22 -0500, Ken Murchison hath writ:
> For those that are interested, I have added an Etc/TAI time zone to
> my test server.
>
> Full VTIMEZONE: https://cyrus-test.andrew.cmu.edu/tzdist/zones/Etc/TAI
>
> Observances: https://cyrus-test.andrew.cmu.edu/tzdist/zones/Etc/TAI/observances?start=1970-01-01T00:00:00Z&end=2038-01-01T00:00:00Z

That's nice to see that the tzdist protocol is handling the data.
It might be good to think about how that might be tweaked for
applications that want an answer other than zero between 1970 and
1972, but that is already problematic because TAI did not exist with
that name until 1971.  There is no right answer for proleptic cases
extending back as far as some of the zones which have been in tzdata.
And this is not relevant for tzdist.

I think that leaves the issue of including leap seconds in tzdist as a
name space issue, and that is explicitly outside the scope of the
draft.

However, it could be helpful to add a paragraph explaining that some
publishers may include zones where the time offsets are based on the
actual broadcast specification for the number of seconds which have
occurred in UTC as published by the ITU-R.  Those zones would be used
for systems where the underlying time scale does count leap seconds,
in contrast to POSIX time which does not count leap seconds.  Such a
paragraph should note that client programs using those zones will need
extra code to handle the leap second information.

If such a paragraph be included then it should include references to
1) the IANA tzdata and tzcode for the "right" zones
2) the ITU-R document defining UTC.  There is already an example for that
in informative reference 6 of RFC 7164
 [6]  ITU, "Standard-frequency and time-signal emissions", ITU-R
      TF.460-6, February 2002,
      <http://www.itu.int/rec/R-REC-TF.460/>.
3) the IERS publication Bulletin C which announces leap seconds, also
as seen in reference 12 of RFC 7164
 [12]  IERS Earth Orientation Centre, "Bulletin C - Product metadata",
       <http://datacenter.iers.org/web/guest/eop/-/somos/5Rgv/product/16>.

But in any case I think that tzdist issue #31 is already handled by the
protocol in the draft.

--
Steve Allen                 <sla@ucolick.org>                WGS-84 (GPS)
UCO/Lick Observatory--ISB   Natural Sciences II, Room 165    Lat  +36.99855
1156 High Street            Voice: +1 831 459 3046           Lng -122.06015
Santa Cruz, CA 95064        http://www.ucolick.org/~sla/     Hgt +250 m