>-Original Message-
>From: es-discuss-boun...@mozilla.org [mailto:es-discuss-
>boun...@mozilla.org] On Behalf Of Garrett Smith
>Sent: Thursday, June 11, 2009 1:25 AM
>
>It seems that an "es5-discuss" list was created. I'm only subscribing
>to es-discuss. It that a deprecated list? What is t
On Wed, Jun 10, 2009 at 8:56 PM, Adam Peller wrote:
> Douglas Crockford writes:
>>Adam Peller scripsit:
>>
>>> I don't feel strongly on this, but it does strike me as odd that
>>> a function intended to avoid culturally-sensitive output would use
>>> an English phrase. I'd lean towards IE/Opera, u
Douglas Crockford writes:
>Adam Peller scripsit:
>
>> I don't feel strongly on this, but it does strike me as odd that
>> a function intended to avoid culturally-sensitive output would use
>> an English phrase. I'd lean towards IE/Opera, using notation from
>> ECMAScript that is equally cryptic t
Adam Peller scripsit:
> I don't feel strongly on this, but it does strike me as odd that
> a function intended to avoid culturally-sensitive output would use
> an English phrase. I'd lean towards IE/Opera, using notation from
> ECMAScript that is equally cryptic to all cultures :-) At least that
On Wed, Jun 10, 2009 at 8:48 AM, Allen
Wirfs-Brock wrote:
> I believe that support for ISO dates in ES5 is intended to provide a standard
> interchange format for dates, not for providing a locale customized format
> for human consumption.
While I agree that throwing makes sense, it is not for t
@mozilla.org
Subject: Re: Date.prototype.toISOString and Invalid Date
On Wed, Jun 10, 2009 at 11:00 AM, Allen Wirfs-Brock
mailto:allen.wirfs-br...@microsoft.com>> wrote:
This would also imply that (new Date(NaN).toJSON()) also throws. Is everybody
fine with that??
I must be missing somethin
the same string as Date.prototype.toISOString()."
Works for me.
/be
Allen
-Original Message-
From: Brendan Eich [mailto:bren...@mozilla.com]
Sent: Wednesday, June 10, 2009 9:42 AM
To: Allen Wirfs-Brock
Cc: John Cowan; Adam Peller; es-discuss@mozilla.org; es5-
disc...@mozilla.org
Subject: Re: Date.
On Wed, Jun 10, 2009 at 11:00 AM, Allen Wirfs-Brock <
allen.wirfs-br...@microsoft.com> wrote:
> This would also imply that (new Date(NaN).toJSON()) also throws. Is
> everybody fine with that??
>
I must be missing something. How does that follow?
--
Cheers,
--MarkM
_
uss@mozilla.org; es5-
>disc...@mozilla.org
>Subject: Re: Date.prototype.toISOString and Invalid Date
>
>On Jun 10, 2009, at 8:48 AM, Allen Wirfs-Brock wrote:
>
>> I believe that support for ISO dates in ES5 is intended to provide a
>> standard interchange format for dates
On Jun 10, 2009, at 8:48 AM, Allen Wirfs-Brock wrote:
I believe that support for ISO dates in ES5 is intended to provide a
standard interchange format for dates, not for providing a locale
customized format for human consumption. Since ISO 8601 apparently
doesn't provide an encoding for "i
Sent: Wednesday, June 10, 2009 8:21 AM
>To: Adam Peller
>Cc: Allen Wirfs-Brock; es5-disc...@mozilla.org; Garrett Smith; es-
>disc...@mozilla.org
>Subject: Re: Date.prototype.toISOString and Invalid Date
>
>Adam Peller scripsit:
>
>> I don't feel strongly on this, but
Subject
Re: Date.prototype.toISOString and
Subject
RE: Date.prototype.toISOString and
-centric perspective).
>
> Unless, I here strong opinions otherwise I think I'll go with "Invalid Date".
>
> Allen
>
>>-Original Message-
>>From: es-discuss-boun...@mozilla.org [mailto:es-discuss-
>>boun...@mozilla.org] On Behalf Of Garrett
tive).
Unless, I here strong opinions otherwise I think I'll go with "Invalid Date".
Allen
>-Original Message-
>From: es-discuss-boun...@mozilla.org [mailto:es-discuss-
>boun...@mozilla.org] On Behalf Of Garrett Smith
>Sent: Saturday, June 06, 2009 12:40 AM
>
What is the expected result of calling toISOString on a date where the
year is NaN?
var d = new Date(NaN);
d.toISOString();
?
Garrett
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
16 matches
Mail list logo