Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing and clarification
Doug Royer <douglasroyer@gmail.com> Sat, 22 June 2019 17:29 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 D8A1E1200D7 for <calsify@ietfa.amsl.com>; Sat, 22 Jun 2019 10:29:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 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] 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 uKjkL0Y52Kpn for <calsify@ietfa.amsl.com>; Sat, 22 Jun 2019 10:29:04 -0700 (PDT)
Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) (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 20427120091 for <calsify@ietf.org>; Sat, 22 Jun 2019 10:29:04 -0700 (PDT)
Received: by mail-pg1-x535.google.com with SMTP id z75so2263071pgz.5 for <calsify@ietf.org>; Sat, 22 Jun 2019 10:29:04 -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:content-language:content-transfer-encoding; bh=cBmrFjL2afDdfIpsL1fKsDs8qfMDMW2ipuOP/R5/nyI=; b=kjQeuITDIktLdhu1ic262eUcCjMZ39vNU83ANLcVtNBr7ThtHxEpanjzKP7q2p/PY2 TlMbFUzaw8QTnAzpyEQSQ0lzklN+scgNTCED0lz/L4YQlAfvKl7KmviabmZ++vLF7hFY n6OTVyLkuY/lS2HS/8dVBV8GrktFBs9noHUI4bDVv2WUZ29M97COmya9FDDpmQXFLXvQ eRhlZhRp/slLXanqvXJ2Du0dPXo787042WBRWTS4QFJ54UtBSg6oLTFv44X5uurtm1LS vzd2Sb0/fjSNn1PCPyyJVmCadnYb9ZJxbnzJomxoCryfOl/lu9ofOkzT2Ey5apVLNj6b 3KIA==
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 :content-language:content-transfer-encoding; bh=cBmrFjL2afDdfIpsL1fKsDs8qfMDMW2ipuOP/R5/nyI=; b=ELcDvwovlUePUtFnmBDT981osn//eNI0JBJwblc+f/4eQSeAELBRdMHZeNmhzaxWkF fUtFd5cCd06gXJkVVTiVo1Ia78FEpyRuvNH1o/I+z+G4ndU4I/P5YKEj7Wx/mzpGOHy7 DsdQ5OZ9579MPazOAoHCH9QbLJie+WLZKRjbAjcyHC9kij9nEM1EkORDEAM90dJsI8dJ X3TTgkH4DFoOLhAyyklbPb6GEWX3kPr/B6rsRNFVp0vAGhMZFurooupugyGdnxJoQJHK Rwfo9u2C2g/x+OZ3unsoCVNzG9oDJSf3BnfNvVjy2hd05JvKYd/X85m097i1i+RvfQEX nn7w==
X-Gm-Message-State: APjAAAVIJkLppxyXjc9lBVmt2O1HW2AVsT/oEqN1AOlvM/ew8LVjXzcZ dJplDoUkqHa+3VikidfeEr4ArBObnklj
X-Google-Smtp-Source: APXvYqx/Esty4RcGPpiC2vICXPBIaEeycd0kVxE7MqpB8Qw37JJ+6b5hNjie7nkqpC3r7TGRdzeZiQ==
X-Received: by 2002:a17:90a:9b08:: with SMTP id f8mr14261959pjp.103.1561224543086; Sat, 22 Jun 2019 10:29:03 -0700 (PDT)
Received: from [192.168.1.7] ([174.27.68.92]) by smtp.googlemail.com with ESMTPSA id n140sm7809288pfd.132.2019.06.22.10.29.02 for <calsify@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 22 Jun 2019 10:29:02 -0700 (PDT)
From: Doug Royer <douglasroyer@gmail.com>
X-Google-Original-From: Doug Royer <DouglasRoyer@gmail.com>
To: calsify@ietf.org
References: <2bf763c5-6e44-3283-7941-857b19ea4b22@gmail.com> <87bb7b1f-7334-2c6f-7099-49c6f631ed81@gmail.com> <995c7a60-88ad-9a93-1f0c-b04d2041225b@gmail.com> <bdf3fde0-32d3-f99a-4ebb-025c21fe2783@gmail.com>
Organization: http://SoftwareAndServices.NET
Message-ID: <1fbb88a5-0915-07cb-717e-f96ebe57aaf7@gmail.com>
Date: Sat, 22 Jun 2019 11:29:01 -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: <bdf3fde0-32d3-f99a-4ebb-025c21fe2783@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/iVRcoZqlaQcxPz5Wen9sT9UhCUM>
Subject: Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing and clarification
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: Sat, 22 Jun 2019 17:29:06 -0000
On 6/21/19 9:26 PM, Michael Douglass wrote:
>
> On 6/21/19 17:47, Doug Royer wrote:
>> On 6/21/19 3:27 PM, Michael Douglass wrote:
>>>
>>> On 6/21/19 17:21, Doug Royer wrote:
>>>>
>>>>
>>>> (B) For the purpose of comparison specifically declare that:
>>>>
>>>> YYYYMMDDT000000
>>>>
>>>> is the same value as:
>>>>
>>>> YYYYMMDD
>>>>
>>> I'm not sure that's correct. A date value at the moment implies ANY
>>> time with that date. It depends what you're trying to achieve.
>>
>> Where is the implication in 5545?
>>
>> When sorting them on the user interface, are they randomly placed as
>> you find them? Or do you place VALUE=DATE items first?
>
> It depends on the UI. But a VALUE=DATE item is often treated differently
> from a date-time, e.g. it reminds me it's somebody's birthday or it's a
> holiday. No alarm set it's just a date.
Yes, when they have no DTEND or DURATION. However they still get sorted
on the user interface.
> Sometimes the entire day is colored because there's a date value.
iCalendar has no 'all-day' definition. Still waiting to see that that means.
> The iPhone (6 and portrait) puts the all-day events in a static bar at
> the top and all the others in a scrollable section - so no they don't
> get sorted first they get separated out in that case
At the top of the day? Is sorted. As there is no such thing as 'all-day'
in iCalendar, do you mean anniversary (no DTEND or DURATION)? Or
floating (No time zone)?
> As does the desktop and thunderbird calendar. If I add an event with
> time 00:00 it gets put in the scrollable section at 00:00 as I'd expect.
I assume you mean those that have a DTEND or DURATION? As expected.
> I think most humans expect an all-day(date only) event to be treated
> differently from an event with a date and time - Most UIs already assume
> that.
Again: No such thing as 'all-day' in iCalendar. Unless your talking
about an anniversary that MUST BE a multiple of day (no fractional days
per 5545).
Types of VEVENTS defined in RFC-5545
"anniversary" is as defined in 3.6.1 and also called a "reminder".
+----------------------------------------------------------------------+
| | VALUE= | | | |
| | date or | Has DTEND or| Has Z | Is a... |
| |date-time| or DURATION | or TZID| |
+---------------|----------------------|-------------------------------+
| (A) |date-time| Yes | Yes |Normal VEVENT starting at |
| | | | |specific UTC offset. |
| | | | |Ending at specific UTC
Offset |
+---------------|----------------------|-------------------------------+
| (B) |date-time| Yes | No |Normal VEVENT starting at |
| | | | |specific local time offset. |
| | | | |Ending at specific local Offset|
+---------------|----------------------|-------------------------------+
| (C) |date-time| No | Yes | Normal VEVENT. |
| | | | | Starts at specific UTC offset.|
| | | | | Ends at DTSTART. |
+---------------|----------------------|-------------------------------+
| (D) |date-time| No | No | Normal VEVENT. |
| | | | | Starts at specific local time |
| | | | | offset. |
| | | | | Ends at DTSTART. |
+-----|---------|-------------|--------|-------------------------------+
| (E) | date | Yes | Yes | Anniversary starting at |
| | | | | midnight on date |
| | | | | as defined by UTC offset. |
| | | | | Ends at midnight on days |
| | | | | specified by UTC offset. |
+-----|-----------------------|--------|-------------------------------+
| (F) | date | Yes | No | Anniversary starting at |
| | | | | midnight on date |
| | | | | as defined by local time |
| | | | | offset. |
| | | | | Ends at midnight at specified |
| | | | | local time offset. |
+---------------|-------------|--------|-------------------------------+
| (G) | date | No | Yes | Anniversary at midnight |
| | | | | at specific UTC offset. |
| | | | | Ends at midnight at specified |
| | | | | UTC offset in DTSTART. |
+---------------|-------------|--------|-------------------------------+
| (H) | date | No | No | Anniversary at midnight |
| | | | | at specific local time offset.|
| | | | | Ends at midnight at specified |
| | | | | local time offset in DTSTART. |
+-----|---------|-------------|--------|-------------------------------+
NOTE: A DATE can have a TZID as specified in the ABNF, and the 'date'
ABNF does NOT allow for a 'Z' on DATE values.
NOTE: A DATE or DATE-TIME values can not have both a TZID
or and a (Z) on the value as quoted here:
In (3.3.5.):
".... The "TZID" property parameter MUST NOT be applied to DATE-TIME
properties whose time values are specified in UTC. ..."
and (3.3.12.):
"... The "TZID" property parameter MUST NOT be applied to TIME
properties whose time values are specified in UTC. ..."
and (3.2.19):
"... The "TZID" property parameter MUST NOT be applied to DATE
properties and DATE-TIME or TIME properties whose time values are
specified in UTC. ..."
> In reality I don't think there's much of an issue with date-time and
> date other than what's lacking is a way to signal what people
> colloquially mean by all-day. Google for "all day event" - apart from
> the technical descriptions I get "All day happy hour at UNO". I'm
> guessing they're not serving pizza or anything else happily from
> midnight to midnight.
Then it is NOT 'all-day'. It is a fractional part of a day, and that is
just makes it a normal VEVENT - nothing special. That would make all-day
has no more meaning that the color of the display. A meaningless
attribute that redefines the 'all' in any spoken language.
What 'people' mean by 'all'? Confusing in itself. All the time they are
open? All Morning? All week? It has no meaning by itself. In effect your
saying "all means all of the time in the normal VEVENT". Which is what a
normal VEVENT already means.
I (as a people) would expect 'all-day' to mean all 24-hours. I am
guessing I am not the only one. Some might think it means
'all-daylight', others might think 'all-work-hours'. No computer program
can read the context of the VEVENT and guess what hours to consume on
the user interface - without DTSTART with VALUE=DATE-TIME, and that
makes it a *normal* VEVENT.
>
> To repeat my original request: Can't we simply allow a timezoneid on a
> date?
We can. 5545 does not say we can not. (as quoted above), it specifies
you can not put TWO time zones in the same property. And it says that in
multiple places. AND the ABNF for DTSTART, DTEND, EXDATE, and RDATE,
and DUE allow for DATE-TIME / DATE *and* tzidparam. As they ALL have
ABNF like this:
...param = *( ...
;
; The following are OPTIONAL,
; but MUST NOT occur more than once.
;
(";" "VALUE" "=" ("DATE-TIME" / "DATE")) /
(";" tzidparam) /
...
--
Doug Royer - (http://DougRoyer.US)
Douglas.Royer@gmail.com
714-989-6135
- [calsify] Z, UTC, DATE, DATE-TIME, comparing and … Doug Royer
- Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing … Michael Douglass
- Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing … Doug Royer
- Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing … Michael Douglass
- Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing … Doug Royer
- Re: [calsify] Z, UTC, DATE, DATE-TIME, comparing … Doug Royer