IE gives == >
Tue Jan 1 00:00:00 UTC-0400 2008,Tue Jan 1 00:00:00 UTC-0400 2008
Firefox Trunk gives == >
Invalid Date,Invalid Date
Is it a bug?
PS:
[new Date('1 JAN2008'), new Date('2008 JAN1')]; works fine on
firefox
I don't think the ECMAScript specification is detailed enough to tell
which formats should be accepted by new Date("stringwithdate"). It
delegates the parsing to the parse method but its specification then
does not tell much about the formats to be accepted or rejected.
--
Martin Honnen
http://JavaScript.FAQTs.com/