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

RE: ACTION-129: Expressing timezones in the Calendar API

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Thu, 25 Mar 2010 15:18:42 +0100
To: richard.tibbett@orange-ftgroup.com
Cc: pgladstone@cisco.com, public-device-apis@w3.org
Message-ID: <1269526722.7232.150.camel@localhost>
Le jeudi 25 mars 2010 à 12:46 +0100, richard.tibbett@orange-ftgroup.com
a écrit :
> There is no way to manually override the timezone of this ECMA Date
> object and this is likely to cause issues to developers and implementors
> - if the 'tz' attribute is actually 'Pacific/Pago_Pago' but I'm creating
> the event from e.g. Europe then these objects conflict in their
> information.

I guess what we need is to extend Date in TimezonedDate rather than
making Date an attribute of the new interface.

interface TimezonedDate : Date {
  attribute DOMString? tz;

(obviously we would need to re-specify the stringifier of that new

Received on Thursday, 25 March 2010 15:01:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:18 UTC