- From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
- Date: Thu, 20 Jan 2011 18:04:09 +0200
- To: ext Dominique Hazael-Massieux <dom@w3.org>, Christopher Hunt <huntchr@gmail.com>
- CC: Device APIs and Policy Working Group WG <public-device-apis@w3.org>
Hi, On 20.1.2011, at 10.46, ext Dominique Hazael-Massieux wrote: > Le jeudi 20 janvier 2011 à 11:43 +1100, Christopher Hunt a écrit : >> utfOffset is not good enough alone given that has a temporal quality with regards to daylight savings time. A zoneinfo reference e.g. "Australia/Sydney" is much more meaningful as rules can be associated with this type of identifier. > > We realize that, but one difficulty that appeared when we reviewed this > issue during our call yesterday is that the vCard RFC uses two > properties to denote the timezone of a given contact: > * a UTC-OFFSET property that is defined as hh:mm difference to UTC > * a TZ property, with an undefined format > > Since compatibility with vCard is one of the design requirements of our > API, it's not clear yet whether we can usefully define a proper timezone > attribute (defined with a real timezone identifier), or if we are > reduced to use the less adequate but better defined utcOffset approach. [I may have missed some of the discussions around TZ during the call, so sorry if this was already talked through.] Below is a summary of the supported TZ property values across vCard versions I was able to extract from the specs: vCard 2.1: "The time zone is a string as specified in a manner consistent with ISO 8601. It is an offset from Coordinated Universal Time (UTC)." [1]. An example: TZ:-05:00 vCard 3.0 (RFC 2426): "The default is a single utc-offset value. It can also be reset to a single text value." [2]. Examples: TZ:-05:00 TZ;VALUE=text:-05:00; EST; Raleigh/North America ; This example has a single value, not a structure text value. vCard 4.0 (Internet-Draft): "The default is a single text value. It can also be reset to a single URI or utc-offset value" however "utc-offset values SHOULD NOT be used because the UTC offset varies with time" and, it "is expected that names from the public-domain Olson database will be used, but this is not a restriction" [3]. Examples: TZ:Raleigh/North America TZ;VALUE=utc-offset:-0500 ; Note: utc-offset format is NOT RECOMMENDED. If I read the ABNF right, all the examples from the previous versions should be also valid, albeit not recommended. AFAIK the TZ URI scheme mentioned above has not been defined yet. WDYT in the light of this? -Anssi [1] http://www.imc.org/pdi/vcard-21.doc (section 2.4.5) [2] http://tools.ietf.org/html/rfc2426#section-3.4.1 [3] http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-15#section-6.5.1 [4] http://www.vcarddav.org/issues.xhtml#187
Received on Thursday, 20 January 2011 16:04:53 UTC