W3C home > Mailing lists > Public > public-sysapps@w3.org > May 2013

Re: Showing APIs to the ECMAScript world

From: Micheil Smith <micheil@brandedcode.com>
Date: Thu, 9 May 2013 14:29:29 +0100
Cc: public-sysapps@w3.org
Message-Id: <66C85004-3ADE-488E-A51F-90575524C911@brandedcode.com>
To: Marcos Caceres <w3c@marcosc.com>
Hey all,

Small question: why is the "ignoreTimezone" / "respectTimezone" flag a string? 

Why not just use a Boolean in the signature, such as:
Future add(Date date, optional any data, optional Boolean respectTimezones);

Where by, if omitted, respectTimezones defaults to False.

 Micheil

On 08/05/2013, at 6:59 PM, Marcos Caceres <w3c@marcosc.com> wrote:

> 
> 
> On Tuesday, May 7, 2013 at 7:53 PM, Charles McCathie Nevile wrote:
> 
>> Sure. Specs have feedback mechanisms, and I believe it is generally the
>> case that those allow for public participation. I agree this could become
>> a problem, but it is currently a problem I would like to have.
> 
> Kicked off one review, just to see how it goes: 
> http://lists.w3.org/Archives/Public/public-script-coord/2013AprJun/0424.html
> 
> 
> -- 
> Marcos Caceres
> 
> 
> 
> 


Received on Thursday, 9 May 2013 13:30:03 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 1 July 2021 16:04:43 UTC