Re: [calsify] WGLC JSCalendar

"Neil Jenkins" <neilj@fastmailteam.com> Wed, 23 October 2019 06:01 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 DDF9B12006B for <calsify@ietfa.amsl.com>; Tue, 22 Oct 2019 23:01:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=O1hlzsbR; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=CZ14aX1Q
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 VDUW2nfGIhXw for <calsify@ietfa.amsl.com>; Tue, 22 Oct 2019 23:01:46 -0700 (PDT)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F2DCD120058 for <calsify@ietf.org>; Tue, 22 Oct 2019 23:01:45 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 11248482 for <calsify@ietf.org>; Wed, 23 Oct 2019 02:01:45 -0400 (EDT)
Received: from imap99 ([10.202.2.99]) by compute6.internal (MEProxy); Wed, 23 Oct 2019 02:01:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=rLwufaz Dz3CwS40ij7WzmAe8qKidV6M9TCQAxyOMVtk=; b=O1hlzsbRe2oQ2oKzMiU3m2m sgLWSrJyawp1Y/C6uAZV83A/y0d00zx7qNl3D85TS00e7PK6gkOKNLxZ4K/OglHM LtCuXLhB6IkFSIJ9prwVsSCzps7kcY7HQAUEvutADh1RAp+qU2i5+bTvbsfn7ILB wztAnBq52MHAx+E5nIB6aDiGql85AiG20dtl0jpjV1vMsXc18uaX6xnwDQqeucNk Y0Fbmho+PF4Io+oWMQZc2LjLyEwySt+i3zAZyrDHnGTwtDMMdplQOqjBNNFe3oDy CiGfzdIBD2nBStCO4M1lsbNx+dr+Z0SeCdL3PQSGYrnmNLBVSdjoJEBlpBk33qQ= =
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rLwufa zDz3CwS40ij7WzmAe8qKidV6M9TCQAxyOMVtk=; b=CZ14aX1QePqXNKajv4s3Xb O88f3xfDafRhbjNM1PF+lUg/r06Qb7KQm1V/EkrCJodJNZ/USL2JzGkFOxHM/3jB RisBGHHuNYxUr1kNjZIdB3Y8OplblS26V1+pIQRTB6A4fXNzDzVqu/HtySDRley2 BryYw6LWiq8eSs+sUsTa+ZCiyYsr6BaEB8U0rpJw3uSBJR/8NOOqACvWk6h2XiC6 CdLyCfimYPBbJYpzSaSAFDUPlngBXAc66CvS1PcHRpVf/as5ON5mIatJpc/v+y8V cvqZzCiUWLRVD//Oi78pttTUK8cOPIQEXuhyzoCdhJNgzWGpOmqKq/MRyJQRM3vQ ==
X-ME-Sender: <xms:yOyvXfpbsBX_MPU_jiW30prsvsaeMmFU5PktpVYU77QyzzFOEB4rlQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrkeekgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrgdtre erreertdenucfhrhhomhepfdfpvghilhculfgvnhhkihhnshdfuceonhgvihhljhesfhgr shhtmhgrihhlthgvrghmrdgtohhmqeenucffohhmrghinhepihgvthhfrdhorhhgnecurf grrhgrmhepmhgrihhlfhhrohhmpehnvghilhhjsehfrghsthhmrghilhhtvggrmhdrtgho mhenucevlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:yOyvXZHpmGCHb3gisifgFgwaHQYLQH7zHS5M8ulSmPgZ-6OUA49pfA> <xmx:yOyvXdS9yiY05IpPv5dxRhX6xe5ivTSkTCgMky6fQQw7AZD5OWg_kA> <xmx:yOyvXXO--bUhYRMFmczarDAT9x60lAWUtIaw3NbPyzrgjgVTBkwUDg> <xmx:yOyvXTVtGaYyPC1ZnBlFW_A4WCJvD_RWut_Oog4K7ZZftXxGacbDjw>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 36AB531D12B; Wed, 23 Oct 2019 02:01:44 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.1.7-470-gedfae93-fmstable-20191021v4
Mime-Version: 1.0
Message-Id: <06f85297-8e20-4b5f-9cb2-a3b3c6cbca8c@dogfood.fastmail.com>
In-Reply-To: <8ebb57a0-869a-463f-fea8-4454441c0275@dmfs.org>
References: <DM6PR15MB3531E3B26D3C5294B1D40564E3930@DM6PR15MB3531.namprd15.prod.outlook.com> <8ebb57a0-869a-463f-fea8-4454441c0275@dmfs.org>
Date: Wed, 23 Oct 2019 17:01:43 +1100
From: Neil Jenkins <neilj@fastmailteam.com>
To: calsify@ietf.org
Content-Type: multipart/alternative; boundary="9c024d3d5d8c4a2093210c3618644e6d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/JmYh7BhXJrn8zwWa2Ta9geGeJmI>
Subject: Re: [calsify] WGLC JSCalendar
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, 23 Oct 2019 06:01:48 -0000

Thanks for the review Marten.

> 4.1.4. prodId (https://tools.ietf.org/html/draft-ietf-calext-jscalendar-20#section-4.1.4)

> In this context, what is the JSCalendar object? Is it the JSON object (or its serialized form) I'm currently looking at or is it the calendar entity that is represented by this JSON object?

> To put it in other words, should a JSCalendar serializer always insert its own "prodId" when serializing an internal representation to a JSCalendar JSON file (even if no data was changed)?

> Or is this related to the "updated" field? Should you only update "prodId" when you also update "updated"?


I think this should be whatever client last updated the event; so yes, only updating "prodId" when you also update the "updated" timestamp (which you should do whenever you make changes) is a neat way to describe it. I'll update the spec.

> 4.3.2. recurrenceRule (https://tools.ietf.org/html/draft-ietf-calext-jscalendar-20#section-4.3.2)

> The limits mentioned for "byMonth", "byMonthDay" and "byYearDay" are specific to the Gregorian calendar scale, e.g

> But other calendar scales may other limits. We should make clear that the limits depend on the maximum values of the respective calendar scale and maybe add "for Gregorian calendars the valid values are 1 to 31 or -31 to -1".


Thanks, I have clarified this (I presume you meant byWeekNo instead of byMonth).

> 4.3.2.1. Interpreting recurrence rules (https://tools.ietf.org/html/draft-ietf-calext-jscalendar-20#section-4.3.2.1)

> which defaults to gregorian if omitted.

> gregorian should be quoted, I guess.

Sure.

> It may also be worth stating explicitly that the "skip" parameter only affects "yearly" and "monthly" rules (IIRC RScale didn't address ambiguous/invalid times during daylight saving changes)


Sure, I've noted in the definition of the skip property that it only has an effect if the frequency is "monthly" or "yearly".

> Gregorian should be capitalized.

Thanks, done.

Cheers,
Neil.