Skip to content
  • darin's avatar
    Reviewed by Ken. · 13748990
    darin authored
    	- rolled in a change from the KJS folks
    
    	Fixes a bug where the date functions would not accept non-strings.
    	And provides a bit of a speedup.
    
            * kjs/date_object.h: Change parameter type for parseDate.
            * kjs/date_object.cpp:
            (DateObjectFuncImp::call): Always call toString, don't check the type.
            (KJS::parseDate): Take a UString parameter, not a String parameter.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    13748990