Re: [calsify] JSCalendar: alternative to current all-day events

Cyrus Daboo <cyrus@daboo.name> Wed, 19 June 2019 14:20 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06F16120605 for <calsify@ietfa.amsl.com>; Wed, 19 Jun 2019 07:20:48 -0700 (PDT)
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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 rlykRBMUgh5R for <calsify@ietfa.amsl.com>; Wed, 19 Jun 2019 07:20:45 -0700 (PDT)
Received: from daboo.name (daboo.name [173.13.55.49]) by ietfa.amsl.com (Postfix) with ESMTP id D7F091205CC for <calsify@ietf.org>; Wed, 19 Jun 2019 07:20:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 41F8B300C3D821; Wed, 19 Jun 2019 10:20:44 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Egf10jdvYDwF; Wed, 19 Jun 2019 10:20:43 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.44.178.52]) by daboo.name (Postfix) with ESMTPSA id 5AA8A300C3D810; Wed, 19 Jun 2019 10:20:43 -0400 (EDT)
Date: Wed, 19 Jun 2019 10:20:40 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Robert Stepanek <rsto@fastmailteam.com>, calsify@ietf.org
Message-ID: <6249690360859C0CCA4EF7CF@caldav.corp.apple.com>
In-Reply-To: <68de4336-72ad-46fa-89eb-75c6dd44f69d@www.fastmail.com>
References: <7ec4462f-9e69-409e-9925-6f0beae7424c@www.fastmail.com> <e7b2189a-1967-2266-11e1-9e994fbe12c1@gmail.com> <69247523-c59b-49b2-9304-3f460cdbbc24@beta.fastmail.com> <2da7e240-326b-23fb-3a29-190d4b65f31f@gmail.com> <8397aa6c-4924-a47e-66c4-98f4b459e70e@gmail.com> <e75bcfba-8a79-1a88-4380-c5e13053013e@gmail.com> <e60a6db4-17db-418c-8341-d9cd4fd0787c@beta.fastmail.com> <b96f6a02-3c75-673e-6730-bed7bcea36ed@gmail.com> <68de4336-72ad-46fa-89eb-75c6dd44f69d@www.fastmail.com>
X-Mailer: Mulberry/4.1.0b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1823"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/ZC0rNNn7lA1ZureL0DzjDn1_Rf8>
Subject: Re: [calsify] JSCalendar: alternative to current all-day events
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Jun 2019 14:20:53 -0000

Hi Robert,

--On June 19, 2019 at 10:40:43 AM +0200 Robert Stepanek 
<rsto@fastmailteam.com> wrote:

>> That is because UTC (Z) is a time zone. It has nothing to do with all
>> day or anniversary. A 'Z' in addition to a TZID would be placing two
>> time zones into the same property. That would be nonsensical.
>
> We read
>  'The "TZID" property parameter MUST NOT be applied to DATE properties'
> as
>  'The TZID property parameter MUST NOT be applied to properties *with
> value type* DATE'.

Yes, but let me quote the whole sentence here because there is a slight 
problem with it:

          The "TZID" property parameter MUST NOT be applied to DATE
          properties and DATE-TIME or TIME properties whose time values are
          specified in UTC.

I think there is a comma missing here! There ought to be a comma after 
"DATE properties", which would make it clear that the whose clause applies 
to DATE-TIME and TIME only. i.e., the correct interpretation of this using 
parenthesis to group terms properly is:

    TZID MUST NOT be applied to either (DATE value properties) or 
((DATE-TIME or TIME) properties whose time values are
          specified in UTC)

I think the missing comma is a minor infraction, but one that could be 
fixed via an erratum if needed. In any case I think your further 
clarification of adding "with value type" is correct and could also be part 
of the erratum.

Even if one were not to agree with that, at best all that could be said is 
that 5545 does not define how TZID is interpreted when applied to a DATE 
value property. In all likelihood it would not be interoperable. I would 
guess that many iCalendar libraries might simply ignore it and not round 
trip it since they will likely use platform specific classes for date and 
date-time representation


-- 
Cyrus Daboo