Re: [Tzdist] Comments on timezone-service-11 sections 1 thru 4

Ken Murchison <murch@andrew.cmu.edu> Mon, 15 September 2014 18:28 UTC

Return-Path: <murch@andrew.cmu.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 4B1331A6F51 for <tzdist@ietfa.amsl.com>; Mon, 15 Sep 2014 11:28:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.052
X-Spam-Level:
X-Spam-Status: No, score=-1.052 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, RP_MATCHES_RCVD=-1.652] 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 CksgC7Y8d5vB for <tzdist@ietfa.amsl.com>; Mon, 15 Sep 2014 11:28:08 -0700 (PDT)
Received: from smtp.andrew.cmu.edu (SMTP.ANDREW.CMU.EDU [128.2.157.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 663641A03F7 for <tzdist@ietf.org>; Mon, 15 Sep 2014 10:48:09 -0700 (PDT)
Received: from localhost.localdomain (cpe-76-180-151-43.buffalo.res.rr.com [76.180.151.43]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.8/8.14.8) with ESMTP id s8FHlxxv019212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Sep 2014 13:47:59 -0400
Message-ID: <5417264F.8000505@andrew.cmu.edu>
Date: Mon, 15 Sep 2014 13:47:59 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: Paul Eggert <eggert@cs.ucla.edu>, Time Zone Data Distribution Service <tzdist@ietf.org>
References: <53F52888.1010007@cs.ucla.edu>
In-Reply-To: <53F52888.1010007@cs.ucla.edu>
Content-Type: multipart/alternative; boundary="------------050902090000050706030102"
X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.9.15.173920
X-SMTP-Spam-Clean: 27% ( SXL_IP_DYNAMIC 3, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, FROM_EDU_TLD 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __ANY_URI 0, __BAT_BOUNDARY 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __INT_PROD_LOC 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MOZILLA_USER_AGENT 0, __RDNS_POOLED_1 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __TAG_EXISTS_HTML 0, __TO_MALFORMED_2 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0)
X-SMTP-Spam-Score: 27%
X-Scanned-By: MIMEDefang 2.74 on 128.2.157.39
Archived-At: http://mailarchive.ietf.org/arch/msg/tzdist/gBtBJTvg6d_0QaAoI9J-R-1OCKM
Subject: Re: [Tzdist] Comments on timezone-service-11 sections 1 thru 4
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 Sep 2014 18:28:12 -0000

On 08/20/2014 07:00 PM, Paul Eggert wrote:
>
> E.  Section 3.4 talks about truncation as if it applied only to past 
> data, but it also applies to the future.  For example, the tz database 
> currently truncates the data for "Asia/Tehran" after 2037, because 
> Iran's actual rules are based on the Persian calendar and cannot be 
> expressed compactly in tz format (or in VTIMEZONE format, I presume). 
> Worse, some rules are based on astronomical calendars and therefore 
> cannot be predicted into the indefinite future.

Hi Paul,

Just as an FYI, the Asia/Tehran rules could be compactly represented in 
VTIMEZONE using the RSCALE 
<http://tools.ietf.org/html/draft-daboo-icalendar-rscale> extension as 
below (RSCALE should be adopted by the CalExt WG shortly).  That being 
said, I don't think any automated tz data -> iCal converter (e.g. vzic) 
could generate this from the tz data as currently constituted unless it 
could parse and act upon the meta-data in the comments.

BEGIN:DAYLIGHT
TZNAME:IRDT
TZOFFSETFROM:+0330
TZOFFSETTO:+0430
DTSTART:19920322T000000
RRULE:RSCALE=PERSIAN;FREQ=YEARLY;BYMONTH=1;BYMONTHDAY=2
END:DAYLIGHT

BEGIN:STANDARD
TZNAME:IRST
TZOFFSETFROM:+0430
TZOFFSETTO:+0330
DTSTART:19910922T000000
RRULE:RSCALE=PERSIAN;FREQ=YEARLY;BYMONTH=6;BYMONTHDAY=31
END:STANDARD

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University