[calsify] JSCalendar, recurrenceId and timezones.

Michael Douglass <mikeadouglass@gmail.com> Sun, 23 August 2020 04:19 UTC

Return-Path: <mikeadouglass@gmail.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 0D8B93A1110 for <calsify@ietfa.amsl.com>; Sat, 22 Aug 2020 21:19:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.199
X-Spam-Level:
X-Spam-Status: No, score=-0.199 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Ljnc-2G_b2ZN for <calsify@ietfa.amsl.com>; Sat, 22 Aug 2020 21:19:29 -0700 (PDT)
Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 284EF3A110E for <calsify@ietf.org>; Sat, 22 Aug 2020 21:19:29 -0700 (PDT)
Received: by mail-qv1-xf2f.google.com with SMTP id cs12so2397924qvb.2 for <calsify@ietf.org>; Sat, 22 Aug 2020 21:19:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=eSK8Yhhhn1HWRREIVS8RD8WI5qUglK5+VfcWQk7jVL0=; b=qjygeyEB0VMzE8i1Vn7Bpg1xy/Gxe5YyrHGhDcYCNog14sYrp40r34Vz5N6MJMa7Rd eRMivgX2NQfoagGNJlYEPvNy0rnGSVTuTIu/ofLCFY7ma9U424UPOyTUHl/JPpXInLKp Ep80VNz9qgzoggipzyHEH1wHfNyoWgqVid0EC9Z0oTDq43x2IdFPPGLHdIahUvp7F985 2B8mnaGSBy1PFU+Gc3vr81sfkoL/80N9NtSMBgn91eIz2SmBiavzwhk8fzFvj8mp0VhG BZhN54qOz2S1aRct3eIfPN69KaTBdZ0ermr0zH3E2bFZ1gtE0rjr1DI3dAPgG2eBUe1N yEYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=eSK8Yhhhn1HWRREIVS8RD8WI5qUglK5+VfcWQk7jVL0=; b=tENG9zBmnUh4p12LGKj99g81KJWr8Jq91vrSVzte4bcdQFuOn+XNw4q5QKCtwR3EG0 oZY4EurFYXThKga/DEIyFLhlWyqoca3/STdp9ZgyZo0fNvxBJNAxDCNWiAWDOvCUwgWi ZSh0+Y/4r9PpnGpAJPQgxd9G11rhfz4/jvOZdeY/1upZ8YiWp3eJhhscpoBAo1BTqlUi Gsvr3/Okvay2S7fnSpast7ipUEtVXZ4SIcC8XG+idTQv9zkJd/i+GuX6iiTOmnEaBl4Y EWJddXDUI3CKr/x1gXDorLj51TmxDSgr0ad39+CbZ+mOCrfC/W7NZIKhg0lHG+3827wV YhHQ==
X-Gm-Message-State: AOAM5310jMN/B85TMiAtsTZamzZq6poeGlBr3Fb5/t9LLKhopZKssVmB TqHv0n0QwQxTRDzNdrRh6WjvbrrEAiDNMg==
X-Google-Smtp-Source: ABdhPJwcUTQmEfIQyHk5V9m8baBMx5VMSfUZ4taiaUi/gWYYDVTiKg+kqPEA44BzMnJPDoe3qc3ucw==
X-Received: by 2002:a05:6214:2a4:: with SMTP id m4mr291148qvv.120.1598156367875; Sat, 22 Aug 2020 21:19:27 -0700 (PDT)
Received: from MBP-2019.nycap.rr.com (cpe-74-70-80-66.nycap.res.rr.com. [74.70.80.66]) by smtp.googlemail.com with ESMTPSA id b23sm7580226qtp.41.2020.08.22.21.19.27 for <calsify@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Aug 2020 21:19:27 -0700 (PDT)
To: Calsify <calsify@ietf.org>
From: Michael Douglass <mikeadouglass@gmail.com>
Message-ID: <861ab5ac-3772-a664-9da2-ffa1d1df4286@gmail.com>
Date: Sun, 23 Aug 2020 00:19:26 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.11.0
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/V49d7_ZDM0yUtTTShwGYjfftRWQ>
Subject: [calsify] JSCalendar, recurrenceId and timezones.
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: Sun, 23 Aug 2020 04:19:31 -0000

I find the explanations about recurrenceId a little confusing.

To be or not to be...

When is it valid to actually have a recurrenceId property and if it 
exists what are the constraints?

It looks like it should never appear anywhere for a full calendar object 
with master and overrides.

It MUST appear in a 'detached' instance which represents a single 
override - for example being invited to a single instance.

Or - we could say it MAY appear in the override but its value MUST be 
the same as the key.

On timezones in overrides

I haven't found anything in 5545 that says the tzid MUST be the tzid in 
the master dtstart. Is it valid to have a recurrenceid with a different 
timezone?

I would suggest it shouldn't be.

As it relates to jscalendar:

The override keys are the local date time as calculated based on the 
master start using the master timezone.

What happens if an override changes the timezone? We can't use the 
recurrenceId value as that's the local time in the master timezone.

In iCalendar it's easy (I think). The recurrenceId timezone is distinct 
from the dtstart timezone so if I want one instyance of my meeting in 
London instead of New York I can easily override it. An example in 
jscalendar would help (me).