Make date parser handle all ES5 Date Time Strings correctly.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Jul 2011 11:41:45 +0000 (11:41 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 1 Jul 2011 11:41:45 +0000 (11:41 +0000)
commitff9ce1abd4add01bbb3f1917bd72207e5ddd70b5
treeddb3f1148daf683dfd53d3c0fda471cd14c6e9b5
parentf2a9026d9a8fc3d0a27e2734b3a535c2582347e9
Make date parser handle all ES5 Date Time Strings correctly.

This means that ES5 Date Time Strings will default to UTC if timezone is absent.
Handle as many legacy strings as possible the same way as before

BUG=v8:1498
TEST=mjsunit/date

Review URL: http://codereview.chromium.org/7291022

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/date.js
src/dateparser-inl.h
src/dateparser.cc
src/dateparser.h
test/mjsunit/date-parse.js
test/mjsunit/date.js