Safari 5.0.4 ISO 8601 Date Parsing

Hi Eric and David,

Raphaël Troncy from the W3C Media Fragments WG (that I'm also part of)
suggested to get in touch with you with regards to the Safari 5.0.4
bug with the ID 9167763 opened by me
(https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/22/wo/P1GRst1tM9Fhft9riLkA2M/12.83.28.0.9,
not sure if the URL works for you, or only with my Apple log-in). The
problem is mainly that Date.parse('2007-03-01T13:00:00Z') returns NaN,
where it should return the timestamp 1172754000000. While ISO 8601
date parsing is defined in ECMA Script 5, my understanding is that
Safari (JavaScriptCore) currently implements ECMA Script 3 (but I
might be wrong here), so ISO 8601 dates are not required to be
working. However, and this is mainly why I opened this bug, WebKit
5.0.4 correctly parses ISO 8601 dates, plus all other browsers that I
have tested (see the bug for concrete details). Could you maybe shine
some light on the situation?

 Thank you very much!

Best,
Tom

-- 
Thomas Steiner, Research Scientist, Google Inc.
http://blog.tomayac.com, http://twitter.com/tomayac

Received on Wednesday, 23 March 2011 10:18:34 UTC