Re: [caldav] All Day Events

Helge Hess <helge.hess@opengroupware.org> Wed, 09 March 2011 02:28 UTC

Return-Path: <helge.hess@opengroupware.org>
X-Original-To: caldav@core3.amsl.com
Delivered-To: caldav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 065D03A6807 for <caldav@core3.amsl.com>; Tue, 8 Mar 2011 18:28:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gsQFUjUB4Eis for <caldav@core3.amsl.com>; Tue, 8 Mar 2011 18:28:52 -0800 (PST)
Received: from mailhub.opengroupware.org (mailhub.opengroupware.org [213.211.192.144]) by core3.amsl.com (Postfix) with ESMTP id 223003A6802 for <caldav@ietf.org>; Tue, 8 Mar 2011 18:28:52 -0800 (PST)
Received: from localhost (mailhub.opengroupware.org [213.211.192.144]) by mailhub.opengroupware.org (OPENGROUPWARE.ORG MAILHUB) with ESMTP id 43ABA2282F5; Wed, 9 Mar 2011 03:30:07 +0100 (CET)
X-Virus-Scanned: amavisd-new at opengroupware.org
Received: from mailhub.opengroupware.org ([213.211.192.144]) by localhost (mailhub.opengroupware.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BhNktaf94xv3; Wed, 9 Mar 2011 03:30:04 +0100 (CET)
Received: from [192.168.0.99] (c-98-248-46-133.hsd1.ca.comcast.net [98.248.46.133]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mailhub.opengroupware.org (OPENGROUPWARE.ORG MAILHUB) with ESMTPSA id 78FB42282F4; Wed, 9 Mar 2011 03:30:03 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: Helge Hess <helge.hess@opengroupware.org>
In-Reply-To: <20110309032145.0988bf9a@sleipner.datanom.net>
Date: Tue, 08 Mar 2011 18:29:58 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <9FDD07CD-0343-4ABA-BA29-E0D55079CE95@opengroupware.org>
References: <20110309032145.0988bf9a@sleipner.datanom.net>
To: Michael Rasmussen <mir@datanom.net>
X-Mailer: Apple Mail (2.1082)
Cc: caldav@ietf.org
Subject: Re: [caldav] All Day Events
X-BeenThere: caldav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <caldav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/caldav>, <mailto:caldav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/caldav>
List-Post: <mailto:caldav@ietf.org>
List-Help: <mailto:caldav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/caldav>, <mailto:caldav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Mar 2011 02:28:54 -0000

On Mar 8, 2011, at 6:21 PM, Michael Rasmussen wrote:
> 1)
> DTSTART;VALUE=DATE:20110303
> DTEND;VALUE=DATE:20110303 

Not sure what you are talking about but the above is invalid iCalendar:

  http://www.apps.ietf.org/rfc/rfc2445.html#sec-4.8.2.2

  "Within the "VEVENT" calendar component, this property defines
   the date and time by which the event ends. The value MUST be
   later in time than the value of the "DTSTART" property."

DTEND is exclusive, not inclusive. Your option two is right for a one day event.

Another option is using duration, eg:
  DTSTART;VALUE=DATE:20110303
  DURATION:P1D

hh