[INTL] Implement Date.prototype.toLocaleTimeString in ECMA-402
[WebKit-https.git] / Source / JavaScriptCore / runtime / DatePrototype.cpp
index 45af7e0efffc630650bc71d17b43a89fd39ce773..550aca43028951fa986c48166238112958f022b9 100644 (file)
@@ -494,6 +494,7 @@ void DatePrototype::finishCreation(VM& vm, JSGlobalObject* globalObject)
 #if ENABLE(INTL)
     JSC_BUILTIN_FUNCTION("toLocaleString", datePrototypeToLocaleStringCodeGenerator, DontEnum);
     JSC_BUILTIN_FUNCTION("toLocaleDateString", datePrototypeToLocaleDateStringCodeGenerator, DontEnum);
+    JSC_BUILTIN_FUNCTION("toLocaleTimeString", datePrototypeToLocaleTimeStringCodeGenerator, DontEnum);
 #else
     UNUSED_PARAM(globalObject);
 #endif // ENABLE(INTL)