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

Paul Eggert <eggert@cs.ucla.edu> Wed, 17 December 2014 18:12 UTC

Return-Path: <eggert@cs.ucla.edu>
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 9E49A1A1BC6 for <tzdist@ietfa.amsl.com>; Wed, 17 Dec 2014 10:12:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.811
X-Spam-Level:
X-Spam-Status: No, score=-2.811 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, 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 UqcZjhEe820Z for <tzdist@ietfa.amsl.com>; Wed, 17 Dec 2014 10:12:03 -0800 (PST)
Received: from smtp.cs.ucla.edu (smtp.cs.ucla.edu [131.179.128.62]) by ietfa.amsl.com (Postfix) with ESMTP id 2356B1A1BD9 for <tzdist@ietf.org>; Wed, 17 Dec 2014 10:12:03 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id D91EAA6003D; Wed, 17 Dec 2014 10:12:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKcKCS-kqPfD; Wed, 17 Dec 2014 10:11:58 -0800 (PST)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7C29EA600AB; Wed, 17 Dec 2014 10:11:58 -0800 (PST)
Message-ID: <5491C76D.7070804@cs.ucla.edu>
Date: Wed, 17 Dec 2014 10:11:57 -0800
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Martin Burnicki <martin.burnicki@burnicki.net>, Daniel Migault <mglt.ietf@gmail.com>, Steve Allen <sla@ucolick.org>
References: <5478ADD0.2030407@cs.ucla.edu> <54790249.7050503@burnicki.net> <547910E7.4020407@lsces.co.uk> <7BE7527BD73E055AD5F2F7F8@cyrus.local> <54793054.8080705@cs.ucla.edu> <547C5944.2050907@burnicki.net> <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> <5491995B.2030803@burnicki.net>
In-Reply-To: <5491995B.2030803@burnicki.net>
Content-Type: multipart/mixed; boundary="------------000409010007050605060606"
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/ztmMiXqZN9i6QpdfKkQd2jotrGM
Cc: Time Zone Data Distribution Service <tzdist@ietf.org>, Time Zone Mailing List <tz@iana.org>
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: Wed, 17 Dec 2014 18:12:07 -0000

On 12/17/2014 06:55 AM, Martin Burnicki wrote:
>
> 2.) We have the leap second file from TZ DB. This file has a different 
> format than the NIST file, but as far as I can see is simply generated 
> from a file in NIST format by a script which is part of the TZ DB 
> package. Unfortunately the expiration date is *not* migrated into the 
> TZ DB's leap second file, so some important information is lost.
>

Thanks for reporting this.  I have installed the attached fix in the 
experimental tz sources on github and it should appear in the next tz 
release.  I am cc'ing the tz mailing list to give them a heads-up.

> 3.) We have a leap second file from IERS, which is once more in a 
> different format than the ones mentioned above.
>
> In my opinion the IERS should be the authoritative source for a leap 
> second file (or table) since this is the institution deciding whether 
> a leap second is to be scheduled,

I would prefer this also.  However, the IERS file is copyrighted. That 
is why the tz database reproduces the NIST file (the NIST file is public 
domain).  Other distributors of the IERS file might want to keep this in 
mind.

Amusingly enough, the NIST file's expiration date disagrees with the 
IERS's.  As a practical matter the NIST's date is more conservative and 
is a better choice for applications like tz and tzdist and this is 
another argument for using the NIST file.

Perhaps someday the IERS will address these two concerns.