Re: [VCARDDAV] New Date Range Proposal

Cyrus Daboo <cyrus@daboo.name> Thu, 14 October 2010 13:14 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D48F3A6986 for <vcarddav@core3.amsl.com>; Thu, 14 Oct 2010 06:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.547
X-Spam-Level:
X-Spam-Status: No, score=-102.547 tagged_above=-999 required=5 tests=[AWL=0.052, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 RT8xw9r6xbsQ for <vcarddav@core3.amsl.com>; Thu, 14 Oct 2010 06:14:26 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id 13DD33A6A3F for <vcarddav@ietf.org>; Thu, 14 Oct 2010 06:14:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 6E0F51A591904; Thu, 14 Oct 2010 09:15:33 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hX2kNF+y-JTS; Thu, 14 Oct 2010 09:15:33 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id 28B2C1A5918F9; Thu, 14 Oct 2010 09:15:31 -0400 (EDT)
Date: Thu, 14 Oct 2010 09:15:28 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Markus Lorenz <lorenz@atlantika-arts.net>, vcarddav@ietf.org
Message-ID: <80525961AB242A5CDC1B80F7@caldav.corp.apple.com>
In-Reply-To: <4CB6B28F.4070501@atlantika-arts.net>
References: <443A4296-7568-4731-BC29-732951F36859@iannella.it> <4CAB1286.8010201@atlantika-arts.net> <74967108-1179-477B-8E7C-8119F0DEC26F@iannella.it> <4CAF14B6.5030903@viagenie.ca> <C3F94B45-CC5F-4137-8D56-53F96F4AC17B@iannella.it> <4CB6B28F.4070501@atlantika-arts.net>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1813"
Subject: Re: [VCARDDAV] New Date Range Proposal
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Oct 2010 13:14:29 -0000

Hi Markus,

--On October 14, 2010 9:34:39 AM +0200 Markus Lorenz 
<lorenz@atlantika-arts.net> wrote:

> What about a formal description like:
>
>    date-range = date-and-or-time "/" date-and-or-time
>
>    date-range-list = date-range *("," date-range)
>
> I'm not sure if "date-and-or-time" is the best solution, as it would
> allow values with only time and no date. But at the moment I couldn't
> think of a reason not to allow that. It shouldn't be the problem of the
> vCard format whether or not a given date-range is meaningful.
>
> With "date-range-list" we're quite near to being able to define business
> hours for work phone numbers. We'd only have to introduce weekdays.
> Don't know if anyone would like that. I guess this information could
> already be included in the iCalendar to which FBURL points. At least for
> the whole vCard and not a specific communications property.

Well that is a slippery slope because if you want to refer to recurring 
times then you need to take timezones (Daylight Saving Time rules) into 
account. I really don't think we should go there. If we do stick with a 
full date-time option here then we need to be clear about the timezone - 
either we pick UTC always, or allow a TZID parameter to be encoded somehow, 
but that would be awkward given that this item is itself a parameter.

What I would prefer is to drop the time component altogether and just go 
with dates only - I think that covers the majority of use cases and is 
sufficient level of granularity. If you want to specify something like work 
hours etc then that should be done by a pointer to an iCalendar object (or 
we define a way to embed an iCalendar object directly in the vCard - which 
is interesting because we also want to have iCalendar objects that 
reference vCards).

-- 
Cyrus Daboo