Re: [VCARDDAV] New Date Range Proposal

Markus Lorenz <lorenz@atlantika-arts.net> Thu, 14 October 2010 07:33 UTC

Return-Path: <lorenz@atlantika-arts.net>
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 31B9B3A68E4 for <vcarddav@core3.amsl.com>; Thu, 14 Oct 2010 00:33:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level:
X-Spam-Status: No, score=-1.988 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_NET=0.611]
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 8cAHd1X144xg for <vcarddav@core3.amsl.com>; Thu, 14 Oct 2010 00:33:35 -0700 (PDT)
Received: from host46.sitepush.net (server20.server-centrum.de [213.239.241.46]) by core3.amsl.com (Postfix) with ESMTP id 2A5893A68C5 for <vcarddav@ietf.org>; Thu, 14 Oct 2010 00:33:27 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by host46.sitepush.net (Postfix) with ESMTP id 45D691FA0005 for <vcarddav@ietf.org>; Thu, 14 Oct 2010 09:34:44 +0200 (CEST)
Received: from host46.sitepush.net ([127.0.0.1]) by localhost (server20.server-centrum.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRsOQeemnVmx for <vcarddav@ietf.org>; Thu, 14 Oct 2010 09:34:44 +0200 (CEST)
Received: from [192.168.0.100] (g224237131.adsl.alicedsl.de [92.224.237.131]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by host46.sitepush.net (Postfix) with ESMTP id 7DA1B1FA0015 for <vcarddav@ietf.org>; Thu, 14 Oct 2010 09:34:43 +0200 (CEST)
Message-ID: <4CB6B28F.4070501@atlantika-arts.net>
Date: Thu, 14 Oct 2010 09:34:39 +0200
From: Markus Lorenz <lorenz@atlantika-arts.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4
MIME-Version: 1.0
To: vcarddav@ietf.org
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>
In-Reply-To: <C3F94B45-CC5F-4137-8D56-53F96F4AC17B@iannella.it>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
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 07:33:36 -0000

Am 13.10.2010 06:03, schrieb Renato Iannella:
> 
> I am proposing to add a new EFFECTIVE-DATES Property Parameter to vCard to support the need to indicate that some vCard Properties were effective over a certain fixed time period. (Otherwise, all properties are considered to be current).
> 
> STEP 1 - Add new DATE-RANGE Property Value Data Type
> ===========================
> 
> 4.3.6.  DATE-RANGE
> 
>  A complete representations of time intervals identified by start and end as specified in [ISO.8601.2004] section 4.4.4.
> 
>  Representations (for Date and Time) with reduced accuracy are allowed.
> 
>  Examples for "date-range":
> 
>     2000-01-25T12:30:00/2005-02-25T12:30:00
>     2000-01-25/2005-02-25
>     2000-01/2005-02
>     2000/2005

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.

Please use examples that show that both values don't have to have the
same date-and-or-time format. The examples should show a possible
difference between the first and the second value:

     2000-01-25T12:30:00/2005-02-25T12:30:00
     2000-01-25T123000+0200/2005-02-25            ; <==
     2000-01-25/2005-02-25
     2000/2005-02-25                              ; <==
     2000-01/2005-02
     2000/2005

Another thing I just saw: The examples for TIME, DATE-TIME,
DATE-AND-OR-TIME and TIMESTAMP in sections 4.3.2 to 4.3.5 never use
colons. I don't have access to ISO 8601:2004, but doesn't it allow
colons in time values?

Regards


Markus