JavaScriptCore:
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2005 18:45:13 +0000 (18:45 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Jul 2005 18:45:13 +0000 (18:45 +0000)
commit9a6e272a035c9a20bf7d8723e0fd7ae34fbbbc7c
treeeebc465c5f9f8080d326c6aaeacfbc306e02f2f4
parentd368bdcb2b1f8b5149cfaa8d6333e397095ca83b
JavaScriptCore:

        -landed patch by Carsten Guenther <cguenther@gmail.com>

        -fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=3477
        some US-centric date formats not parsed by JavaScript (clock at news8austin.com)

        -relevant tests:
               mozilla/ecma_3/Date/15.9.5.5.js
               layout-tests/fast/js/date-parse-test.html

        Reviewed by darin.

        * kjs/date_object.cpp:
        (formatLocaleDate):
        (day):
        (dayFromYear):
        (daysInYear):
        (timeFromYear):
        (yearFromTime):
        (weekDay):
        (timeZoneOffset):
        (DateProtoFuncImp::call):
        (DateObjectImp::construct):
        (KJS::parseDate):
        (ymdhms_to_seconds):
        (KJS::makeTime):
        (findMonth):
        (KJS::KRFCDate_parseDate):
        * kjs/date_object.h:
        * tests/mozilla/expected.html: updated expected results to reflect fix

WebCore:

        -landed patch by Carsten Guenther <cguenther@gmail.com>
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3477

        -corrects errors in date layout test

        Reviewed by darin.

        Test cases modified:
        * layout-tests/fast/js/date-parse-test.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/date_object.cpp
JavaScriptCore/kjs/date_object.h
JavaScriptCore/tests/mozilla/expected.html
LayoutTests/fast/js/date-parse-test.html
WebCore/ChangeLog-2005-08-23