Re: [VCARDDAV] Non-gregorian dates

Cyrus Daboo <cyrus@daboo.name> Mon, 18 January 2010 01:32 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 1ED8E3A6809 for <vcarddav@core3.amsl.com>; Sun, 17 Jan 2010 17:32:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.399
X-Spam-Level:
X-Spam-Status: No, score=-4.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, GB_I_INVITATION=-2]
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 c3DvxDQb6I5C for <vcarddav@core3.amsl.com>; Sun, 17 Jan 2010 17:32:05 -0800 (PST)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id F24823A67B0 for <vcarddav@ietf.org>; Sun, 17 Jan 2010 17:32:04 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id A64509BB3BBB; Sun, 17 Jan 2010 20:32:01 -0500 (EST)
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 0fIcyntEilOo; Sun, 17 Jan 2010 20:32:00 -0500 (EST)
Received: from [10.0.1.6] (unknown [10.0.1.1]) by daboo.name (Postfix) with ESMTPSA id 556C49BB3BB3; Sun, 17 Jan 2010 20:32:00 -0500 (EST)
Date: Sun, 17 Jan 2010 20:31:58 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Mike Douglass <douglm@rpi.edu>
Message-ID: <CDCC69AA640CBE8C376814E9@socrates.local>
In-Reply-To: <4B537486.8090807@rpi.edu>
References: <515E9CB1EEF147EC7725483E@socrates.local> <4B537486.8090807@rpi.edu>
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="1446"
Cc: CardDAV <vcarddav@ietf.org>
Subject: Re: [VCARDDAV] Non-gregorian dates
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: Mon, 18 Jan 2010 01:32:06 -0000

Hi Mike,

--On January 17, 2010 3:35:18 PM -0500 Mike Douglass <douglm@rpi.edu> wrote:

> Would it be appropriate to allow for multiply occurring properties in
> this case, for example allowing a birthday to appear in GREGORIAN and
> some other calscale - or is that essentially already covered?
>
> It seems likely (an open invitation for correction) that an application
> generating vcard that understands a non gregorian scale would also be
> able to produce gregorian equivalents.
>
> Given the note it's apparent that producers and consumers would need to
> refresh their information periodically - but then we have CardDAV for
> that.

An exact date can easily be mapped between different calendar systems using 
well known algorithms. What can't be done easily is partial dates - in some 
ways this is similar to recurrence patterns in iCalendar which are also 
very calscale specific. In this case consider my "partial" birthday:

BDAY:??0921

That won't necessarily map to the same date in other calendar systems for 
different years. e.g. (using <http://www.hebcal.com/converter/>). For 2010 
the Hebrew date is "13th of Tishrei, 5771", for 2011 it is "22nd of Elul, 
5771". Now I honestly don't know how one would represent something like a 
birthday in the Hebrew calendar or others (something I would like to 
research if I did not have plenty of other things to do) but I know users 
do want to be able to do that.

-- 
Cyrus Daboo