Re: [calsify] Updated JSCalendar draft version 08

"Neil Jenkins" <neilj@fastmailteam.com> Tue, 09 October 2018 09:46 UTC

Return-Path: <neilj@fastmailteam.com>
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 E69AB131247 for <calsify@ietfa.amsl.com>; Tue, 9 Oct 2018 02:46:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.983
X-Spam-Level:
X-Spam-Status: No, score=-1.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_HEADER_CTYPE_ONLY=0.717, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=WeqNyfBy; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=wnkq6RdU
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 8u3C6B_ajz3n for <calsify@ietfa.amsl.com>; Tue, 9 Oct 2018 02:46:10 -0700 (PDT)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95F6413123D for <calsify@ietf.org>; Tue, 9 Oct 2018 02:46:10 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A6B2121B5A for <calsify@ietf.org>; Tue, 9 Oct 2018 05:46:09 -0400 (EDT)
Received: from imap22 ([10.202.2.72]) by compute6.internal (MEProxy); Tue, 09 Oct 2018 05:46:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=message-id:in-reply-to:references:date:from :to:subject:content-type; s=fm3; bh=q3ULf1bx8DIc58kOSiQK2TZ4JFXH 0afYK0uSJ/dAs6I=; b=WeqNyfByiafOZWVbw4kfWv0JyMqvOJGA4h6e7PYxSwVZ DYYHpfmhnMWP1BhUXF2qnS1Z/5/bnA8LFUvDDqGOsfB6k7Oq2+E1mxXeDZWeiwaW ooi5s7gXSZF6js2rXKi3XOWp9I939WJC1GTtYlPSR5VxuYE/BOe6vQqbCou85vRH F+iG0ClVZMLXcTyQLsWs3OrJa/dzto8HFVVygDkugVc6GhE45UEt8b6vb1/iPs1y +wVV4Lk3NHzlYmbPG1RF5mIxBMM4r4bEtJ9IYi85T5kv2NNkMBNWdx+Jq6qymCCl fjEpdUZlPYlkxbuu7BekqaqJFramWC7UPD/3qKymYg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:references:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=q3ULf1bx8DIc58kOS iQK2TZ4JFXH0afYK0uSJ/dAs6I=; b=wnkq6RdU/HfbmC/ACDT8UNyuGTRY60MOZ ChhbDWOYSnmGC71pIgyOZlH82IE8fFtnG73RrSpfAje+Q9Cle9/LIY4G97HHkr6Y kLdopzyNcL+L0LwLnVyCSvAHoNEkFyQGPrtWudfC2/u2lczkeB5fPuXVvBB2R+Jh emDrnjP7ocX/tqQdfGgDgf95OF7Gjj+f2GMTqGC1Dnad0vXa7mfa0fDrvxPLR037 Zw6vVX53duWKHK5fpJDK4+50x5feEcfkZPAofzMtHygrFnFrNnraKKMEgdWf+P83 Qb2BSZqBIG6/vXITsLGCPx7JFHponE7iVy7oQoKp7N7zmY9nRN9wQ==
X-ME-Sender: <xms:4Xi8W9HeiMyg71DmuNYRivJA0G3FxnjSUA4SwAICDFWDqIXCfpoBJw>
X-ME-Proxy: <xmx:4Xi8W3IFOBm6NOr-RE-_PQm5l9V1_8KBUtpe0gKDPLtvGKCAIyXRsQ> <xmx:4Xi8WzF0zfY9kTw1EB8tpWEy1jfPhvcOeJcmj3StHtp3u9pcnB0KWQ> <xmx:4Xi8W26IsFzNVG4ktTYMOKIjKBl3ZaQhBMlj_l6hlM6OatCAWvawNg> <xmx:4Xi8W21ICFBEbpNxIVq53RoLR3I-IL_I4RPkKti3xI-xE8GyCh4sSw> <xmx:4Xi8W6gWBIGMYI4C-dmmAcgetQst_XAgiNItkgddtRbP2YnEKA6k5A> <xmx:4Xi8W8AIsTiP8qdtMA0vxrcPvVZQkzT53m6I3wN7-kebQSRBjkPNyw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 10B9CE68B; Tue, 9 Oct 2018 05:46:07 -0400 (EDT)
Message-Id: <873a7dbe-e33d-4a46-b273-0406a5640369@sloti22d1t06>
User-Agent: Cyrus-JMAP/3.1.5-551-g079e021-fmstable-20181002v2
X-Me-Personality: 64588216
In-Reply-To: <e1af39ba-f563-5151-dabe-381ac98e998a@dmfs.org>
References: <4e76bb0f-0b05-409f-960c-add3f39f702e@sloti22d1t06> <e25fe2f3-c199-c096-1aa4-593313ff5251@dmfs.org> <b32127ab-f3d0-2354-4d3f-fddd4f8755f8@dot.ee> <b05d34e5-2418-4ee8-9025-9bc12263d251@sloti22d1t06> <7f0bb4a3-b7c0-bcc1-aabf-692217d509c5@dmfs.org> <917758f0-2a55-bc1a-44ce-1edee5730ae0@dot.ee> <e1af39ba-f563-5151-dabe-381ac98e998a@dmfs.org>
Date: Tue, 09 Oct 2018 05:46:07 -0400
From: Neil Jenkins <neilj@fastmailteam.com>
To: calsify@ietf.org
Content-Type: multipart/alternative; boundary="4e2e215faa5149fdae8bcc4d0c8922c5"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/2mfGkNgKy0Xhihz3SO9XgryxGaw>
Subject: Re: [calsify] Updated JSCalendar draft version 08
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: Tue, 09 Oct 2018 09:46:12 -0000

I agree we need to change the spec, as it's currently inconsistent. I would propose changing 
 
If *isAllDay* is true, then the following restrictions apply:
   o  the *start* property MUST have a time component of "T00:00:00".
   o * the *duration* property MUST only include a day component.*
to this: 
If *isAllDay* is true, then the following restrictions apply:
   o  the *start* property MUST have a time component of "T00:00:00".
   o  *the *duration* property MUST not include non-zero time components (hours, minutes, or seconds).*
 
Then the default of `PT0S` is valid regardless of `isAllDay` and it mirrors the way `start` is specified. I get Marten's point that just saying only day/week components is slightly less likelihood of people making errors, but I think the difference is minimal and as Andri says, it's just as easy to verify that any time components are zero if given. 
 
Neil.