Re: [Tzdist] Fwd: [tzdist] #32 (service): managing historical data

Lester Caine <lester@lsces.co.uk> Wed, 10 December 2014 21:43 UTC

Return-Path: <lester@lsces.co.uk>
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 69FBE1A8997 for <tzdist@ietfa.amsl.com>; Wed, 10 Dec 2014 13:43:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 ugUI0Ms8gmb5 for <tzdist@ietfa.amsl.com>; Wed, 10 Dec 2014 13:43:39 -0800 (PST)
Received: from mail4.serversure.net (mail4-2.serversure.net [217.147.176.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1FF6A1A886B for <tzdist@ietf.org>; Wed, 10 Dec 2014 13:43:38 -0800 (PST)
Received: (qmail 14603 invoked by uid 89); 10 Dec 2014 21:43:36 -0000
Received: by simscan 1.3.1 ppid: 14596, pid: 14599, t: 0.1266s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677
Received: from unknown (HELO ?10.0.0.8?) (lester@rainbowdigitalmedia.org.uk@86.178.188.220) by mail4.serversure.net with ESMTPA; 10 Dec 2014 21:43:36 -0000
Message-ID: <5488BE88.6090703@lsces.co.uk>
Date: Wed, 10 Dec 2014 21:43:36 +0000
From: Lester Caine <lester@lsces.co.uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: Time Zone Data Distribution Service <tzdist@ietf.org>
References: <059.5da79d7c9d394e20e3c22513cfe04c33@tools.ietf.org> <5475BD47.7040900@lsces.co.uk> <CADZyTkmviNBkM-C_-5Gq+RruUu7R7P9bwKCvg7+1nGnx+NzJ_Q@mail.gmail.com> <54788334.3010604@lsces.co.uk> <CADZyTkn92ZXnf0MOJjFH59eAYG_Bnu5FZ0x1UcoUq27MkRKZzA@mail.gmail.com> <5479E42A.8080306@lsces.co.uk> <CADZyTk=aVNFmoR1GA+w_xU7+-28Rnb-TJY4uT-jVOU4jdC1yKg@mail.gmail.com> <CACzrW9D=wZi1VvCiGa-4kwbKAyHMs6rduF6+cKA0Nn0gshm+sQ@mail.gmail.com> <54877E06.5020409@lsces.co.uk> <39981BA759F3923868CCFBD3@caldav.corp.apple.com> <54888249.9080607@lsces.co.uk> <CAFpi07z8NauUZ5aBqqg9sXDsmSA+hG4HuZNDkLe7fnk=mg4wgA@mail.gmail.com> <676B23282D9F7F1DCE6A54C7@caldav.corp.apple.com> <CAFpi07x79gJLEBWmpxWv7V13CiwmeKGy7bwS1=+ukp-sKmwFxA@mail.gmail.com> <5488921B.8020900@lsces.co.uk> <5488973F.7050400@andrew.cmu.edu> <54889C39.1080103@lsces.! co.uk> <54889FE2.7080302@andrew.cmu.edu> <5488A5BC.6010906@lsces.co! .uk> <5488AE4E.30507@andrew.cmu.edu>
In-Reply-To: <5488AE4E.30507@andrew.cmu.edu>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/0JHiWFx-JFMIUU6v6HpTz6oFI-M
Subject: Re: [Tzdist] Fwd: [tzdist] #32 (service): managing historical data
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, 10 Dec 2014 21:43:48 -0000

On 10/12/14 20:34, Ken Murchison wrote:
> Don't know if you intended to take this off-list, but I left it as such.
Should have been on list ;)

> On 12/10/2014 02:57 PM, Lester Caine wrote:
>> On 10/12/14 19:32, Ken Murchison wrote:
>>> Maybe I'm just being thick, but why would I care what TZ data was used
>>> when events were published?  All I care about is what UTC offset was in
>>> effect at the exact instant of the event.  The most recent version of TZ
>>> data should always have the correct offsets, at least back as far as
>>> 1970.  This should be the case regardless of the publisher.  If this
>>> isn't the case for TZ data moving forward, then people will stop using
>>> publishers of incorrect data.
>>>
>>> If I invite multi-national colleagues to a conference call today using
>>> IANA 2014j TZ data, and at some point in the future I want to know when
>>> our call was, I should be able to use IANA 2020a or whatever to find
>>> out.  I shouldn't need to dig up a copy of 2014j.
>>>
>>> The historic case that you mention (and possible use of incorrect data?)
>>> still seems like an extension to base tzdist to me.
>> PLEASE read the various posts on the race problem with some TZ offset
>> changes!
> 
> I have, and I understand the race.

>> Yes a large majority of users will not even know there is a problem, but
>> for a small number of cases, DST offsets are changed at short notice due
>> to astronomical observations. So a meeting may move an hour at short
>> notice. 2014j becomes 2014k and the change currently slowly limps out so
>> no one knows until they log in at 10am to see then end of the meeting
>> because it started an hour earlier. My own example had video links
>> booked against UTC times, so the local meeting time had to change
>> retaing the UTC bookings. If the published timetable was tagged with
>> 2014j and tzdist is now saying 2014k a client can at least flag the
>> difference and warn that something has to change!
> 
> As I stated earlier, if a change is so short notice as to not be able to
> propagate prior to an affected meeting, then neither versions nor
> timestamps will solve the issue.  In this case, I would expect the
> user(s) in the affected time zone to be aware of such an impending
> change and coordinate the times manually with other participants.

It is getting a change out faster that is the key to tzdist actually
working. I can see some servers providing additional versions of TZ data
which are geared to support problem locations, but as well as the short
notice changes, longer time frame changes to previously published TZ
offsets also create a race condition.

>> Some DST events are changing almost annually, so a longer term event
>> calendar may well see an update in a years time. My own meeting
>> calendars run into 2016 already and even the UK DST can't be relied on
>> being retained.
> 
> Understood, which is why the actual UTC offsets should be calculated by
> the consumer with current TZ data near the time of an event.
> As Mike Douglass posted, this is why CalDAV clients and servers, store
> the TZID with an event.  As you note, pre-calculating UTC offsets is
> going to result in incorrect future times in some cases.

An international event will have meetings at different local times in
different countries. This is why normalizing to UTC is important, and it
IS the normalizing using the TZ data at the time of publication which
will be used to book video links, rooms and the rest. CURRENTLY when the
local time changes there is nothing flagging the problem and so problems
arise. Simply using a new set of TZ data is what causes the problem,
where as the system should report that there IS a problem at least. It
can't provide a fix, but that there IS a conflict at least allows the
organisers to see that and decide on a solution, which would normally be
to change the local time of the meeting leaving the UTC times
unaffected, that is if the facilities are available. Again, longer term
events may be affected if an unexpected change to DST rules are made for
political reasons. Assuming that you are looking at current times on
what may be a cached copy of the timetable creates a bigger window for
the race condition.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk