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

Doug Royer <douglasroyer@gmail.com> Tue, 18 June 2019 21:13 UTC

Return-Path: <douglasroyer@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 5617C12019C for <calsify@ietfa.amsl.com>; Tue, 18 Jun 2019 14:13:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level:
X-Spam-Status: No, score=-0.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 sgYAoXU_RlWq for <calsify@ietfa.amsl.com>; Tue, 18 Jun 2019 14:13:09 -0700 (PDT)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 697C2120048 for <calsify@ietf.org>; Tue, 18 Jun 2019 14:13:09 -0700 (PDT)
Received: by mail-pf1-x42d.google.com with SMTP id d126so8363086pfd.2 for <calsify@ietf.org>; Tue, 18 Jun 2019 14:13:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:organization:message-id:date:user-agent :mime-version:in-reply-to; bh=/aqnjTMsZ2ob8F+KfUhTqnkljL/uog66pPcUZUaOnb4=; b=AHYQEAaKiMbkTwkWOsxFFcYutjVNSd49nBqI7eGydI0UArCEmLvyYOGT5411rmGhAU 1Ckn/DSVQQpXUaxtdTn5DjSS3LyXTdZ8zhcD5digSelMeOGkDAAsaswAA6zan5U8TYnV Cs3tRD/xSF+kcnpFC2hkrdRF9yoRr9Z8H24a9jzdOI2XAqtbwoG3NXZae8l+WRfvtXeF c2JHIrokXt8DYTZUrKq9SUZ70psAyNTYtCYlgI99oqvKodSb9y+mRC5flUj+6adcSeOs 58/6iwODmPtNFC+Ost5y890kXISRD4nxlmjOWh+Zsxz2UEcZlPVnbY2HBk/toxd+DGQc 46aA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:organization :message-id:date:user-agent:mime-version:in-reply-to; bh=/aqnjTMsZ2ob8F+KfUhTqnkljL/uog66pPcUZUaOnb4=; b=Ecy821GCQNsjHqDvpm0eVQ8H+QenD7FzMsDosqHE0FSge7OeMQFRkGPfsQjZI/O05C BTSokrAEhEJrpEyQDD6fWsGMqhfVKnXT57Cth4ln/KT3M+w4J3ztABGyhYjntK5Cfahg LRvrGINYEldq4Z1hNrQXAX3f8FSGJUSLW2Rq+ttUcq9VjtLVS99DvBBhQhpc/bydJnjT oQ1u2m/KCJvtZeQ0RMUU/wzI5bBUuUuJlN4tinDG3DBHJM1GjP5zZebbwJgu/gIgymaT v0j1xwK15f387WCogxMdFZaErpAoPvBJFRMWJyXMt/7J9N+4QUQP3HiJfkHNkZrH+Hy/ raTA==
X-Gm-Message-State: APjAAAWgJM1O0TiNHJ8NoupiocgDBJg9YMef9KKlhvu5XPD89kuSy3mr dI+AmgAffvPogMHvUnSm8oo2N5VypwBb
X-Google-Smtp-Source: APXvYqweKqBhGV/k8cJ2KuBG7K4IMHYtR4GNN/7Vijzka3F5UXuZJUiWkslK3gvG1/43gEfuEZA1qg==
X-Received: by 2002:a17:90a:bb8b:: with SMTP id v11mr7182133pjr.64.1560892388408; Tue, 18 Jun 2019 14:13:08 -0700 (PDT)
Received: from [192.168.1.7] ([174.27.172.40]) by smtp.googlemail.com with ESMTPSA id e20sm15299385pfi.35.2019.06.18.14.13.06 for <calsify@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2019 14:13:06 -0700 (PDT)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
To: calsify@ietf.org
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>
Organization: http://SoftwareAndServices.NET
Message-ID: <e75bcfba-8a79-1a88-4380-c5e13053013e@gmail.com>
Date: Tue, 18 Jun 2019 15:13:06 -0600
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1
MIME-Version: 1.0
In-Reply-To: <8397aa6c-4924-a47e-66c4-98f4b459e70e@gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms090003070305090500070008"
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/PP-01EGDKE-ZxXu6ObHZ1x-n6G8>
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: Tue, 18 Jun 2019 21:13:11 -0000

Great - It needs to be documented in the spec.

If it means fuzzy dtstart/duration, that's fine. But say so.
Does it mean "no earlier than dtstart" and "no longer than duration"?
Without knowing, what will get displayed will be different across 
implementations. So far, I would just ignore it, as it has no specific 
meaning yet.

So, not sure what you mean when you say:

   "For years creators of ics files have been trying to put timezones on
   dates. I tell them they can't - they say why? The only answer is that
   the standard says so. They want to flag an all day event as taking
   place in a certain timezone. Setting the start and end to midnight
   doesn't have the same meaning - that is a 24hour event."

So, don't set them to midnight. If you mean Anniversary events, they 
are date-only. That has nothing to do with all day. An anniversary is 
'on that date', not 'all day'. Those can be localtime or TZ specific, 
and may or might not have a dtend/duration.

TZ is not required, and *is* allowed on Date-Time and Date events.

	DTSTART;TZID=America/New_York;VALUE-DATE:19980119

and
	DTSTART;TZID=America/New_York:19980119T020000

and
	DTSTART:19980119T020000

Are all valid. Timezones are *not* required on the events. So users do 
not need a timezone in an ics file. When omitted, those are localtime 
(like new years day and birthdays). So isAllDay does not need to exist 
to specify those.

When you say: "The uis for public calendars need to know the difference 
between a true 24hour event and an all-day event in a certain timezone - 
we display them differently."

I am guessing that a 'uis' is a CUA?

Exactly how will they be displayed differently? An anniversary may 
display differently (it can have no duration). But any other 
start/duration event simply takes up the time on the CUA like any other.

Still confused by "all day" vs any other event that may or might not be 
24-hours in duration.

On 6/18/19 1:26 PM, Michael Douglass wrote:
> Putting aside the  exact representation for the moment there is a need - 
> expressed by calendar users - to represent what they mean by "all day".
> 
> For birthdays etc the current date-only is probably fine (though 
> possibly being able to flag these as anniversary events might be useful).
> 
> However, for public and social events things are different. These are 
> generally known as 'all day' - the start and end may be ill-defined if 
> at all. They also often take place in a specific timezone.
> 
> For years creators of ics files have been trying to put timezones on 
> dates. I tell them they can't - they say why? The only answer is that 
> the standard says so. They want to flag an all day event as taking place 
> in a certain timezone. Setting the start and end to midnight doesn't 
> have the same meaning - that is a 24hour event.
> 
> The uis for public calendars need to know the difference between a true 
> 24hour event and an all-day event in a certain timezone - we display 
> them differently.
> 
> So I think the first issue is to decide whether our users are simply 
> being unreasonable or if they have a genuine unfulfilled need.
> 
> If you want an analogy - we can either see where people walk and then 
> lay down the paths or we can lay the paths and forever repair the grass.
> 
> 
> On 6/18/19 13:50, Doug Royer wrote:
>> On 6/17/19 6:39 PM, Bron Gondwana wrote:
>>> On Tue, Jun 18, 2019, at 09:25, Doug Royer wrote:
>>>>   "Indicates whether this event is meant to represent an all-day event,
>>>>     and SHOULD be presented accordingly in a calendaring application.
>>>>     The value of this property is independent of the actual time-span
>>>>     covered by this event."
>>>>
>>>>
>>>> So, an isAllDay could as an example, be 36 or more hours long?
>>>
>>> It certainly could.  This is already very possible with iCalendar, 
>>> e.g. this event here:
>>>
>> (example not included)
>>>
>>> Which is an "all day event" with a duration of 5 days.
>>
>> So, with, or without 'isAllDay' they mean EXACTLY the same thing. What 
>> is the point of 'isAllDay' when with or without it, it means the same 
>> thing?
>>
>> If I am incorrect, what does it mean?
>>
>>
>>
>> _______________________________________________
>> calsify mailing list
>> calsify@ietf.org
>> https://www.ietf.org/mailman/listinfo/calsify


-- 

Doug Royer - (http://DougRoyer.US)
Douglas.Royer@gmail.com
714-989-6135