Skip to content
  • ggaren's avatar
    JavaScriptCore: · 8be9c93b
    ggaren authored
            -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: http://svn.webkit.org/repository/webkit/trunk@9559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8be9c93b