This is the response I posted to the bugzilla issue: I would like to see a better motivation present for why this change is important. In particular, it is a deviation from the ECMAScript standard. While syntactic extensions to the Date.parse syntax is allowed by the specification. It is not particularly a good idea. In particular, every time a specific implementation adds such a non-standard extension, it creates a potential cross-browser interoperability hazard.
Apparently these extensions are not motivated by a desire to improve interoperability as reference [1] shows that none of Firefox, IE, and Safari currently provide these extensions. Chrome apparently does (and also Opera??). Finally, I don't understand why a WhatWG document is being used to justify a change to an ECMAScript specified function or why the WhatWG is messing with an ECMA specification. If there is a serious proposal to change the ECMAScript specification it should be brought to TC39 as a proposal where it would be given serious consideration. But simply bypassing the standards process doesn't seem like a very good idea. In particular, Google is a member of TC39 and Chrome has apparently implemented these extensions. Yet as far as I know, they have not made a proposal for this extension to TC39. Why not? Allen On Sep 17, 2012, at 12:53 AM, LittleQ wrote: > I made a patch for bug-791320 [1], and somebody ask me to get opinions from > this mailing list. > > This patch added support for accepting " " in places where "T" is allowed > originally, will it cause any problem. > > for example: > > "2012-12-12T12:12:12" and the derivation(append millisecond or timezone) will > be accepted. > "2012-12-12 12:12:12" will be accepted after this patch > > and these won't be accepted after this modifying: > > "2012-12-12A12:12:12" (A could be replaced by a-zA-Z) > "2012-12-12-12:12:12" > "2012-12-12:12:12:12" > > any comment for this fixing? > > Thanks, this is my first patch for firefox :) any advise will be welcome~ > > [1] For ISO 8601 syntax, Date.parse should accept " " in places where "T" is > allowed.: https://bugzilla.mozilla.org/show_bug.cgi?id=791320 > > -- > { > greeting: "Have a nice day!", > name: "Colin Su", > nickname: "LittleQ", > email: "[email protected]", > website: "http://about.me/littleq", > title: [ > ["Genie Capital", "Web Developer"], > ["National Chengchi University", "Student", "Computer Science Dept."] > ] > } > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

