Comment #3 on issue 944 by [email protected]: TimeComposer broken for times with milliseconds values that have only 1 or 2 digits
http://code.google.com/p/v8/issues/detail?id=944
The bug is that we accept .5 at all. The millisecond number MUST be given as three digits (according to ES5 15.9.1.15). We have the same problem with the other positions, where we accept one digit and not just the required two, and less than four digits for year.
Currently Firefox accepts more or less than three digits for milliseconds, Safari and IE9 beta don't support the time/date format in Date.parse, and Opera accepts only three digits.
I'd prefer to fix the parser to accept only the mandated number of digits in all the fields.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
