W3C home > Mailing lists > Public > public-device-apis@w3.org > December 2010

Contacts API

From: Christopher Hunt <huntc@internode.on.net>
Date: Fri, 10 Dec 2010 21:39:57 +1100
Message-Id: <EDE77F46-EC6F-43A3-9FBE-E3AC0DE93C6E@internode.on.net>
To: public-device-apis@w3.org
Hi there,

I just noticed something about the proposed Contacts API (1). With regards to time zones, the current GMT offset is being provided. While I think that can be of use, I think that it would be of better to supply the time zone in Zoneinfo format (2). Zoneinfo is pretty much used by most Unix systems and should be supportable by Browsers across all platforms IMHO.

Perhaps even consider a Timezone object for Javascript based on the ICU implementation (3).

Having time zone information available means that UTC offsets can be calculated given any date/time.

Other than that though, this seems like a great initiative.

Kind regards,
Christopher Hunt

(1) http://www.w3.org/TR/2010/WD-contacts-api-20101209/
(2) http://en.wikipedia.org/wiki/Tz_database
(3) http://userguide.icu-project.org/datetime/timezone
Received on Friday, 10 December 2010 10:54:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:47 UTC