From 351df6184c62b74f1246e9400fb5180d94882baf Mon Sep 17 00:00:00 2001 From: Szilard Ledan Date: Thu, 16 Jul 2015 10:51:18 +0200 Subject: [PATCH] Add locale part of the toString in the Date object JerryScript-DCO-1.0-Signed-off-by: Szilard Ledan szledan.u-szeged@partner.samsung.com --- .../ecma/builtin-objects/ecma-builtin-date-prototype.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.cpp b/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.cpp index 86fb4dbf88..634702e129 100644 --- a/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.cpp +++ b/jerry-core/ecma/builtin-objects/ecma-builtin-date-prototype.cpp @@ -299,7 +299,7 @@ ecma_builtin_date_prototype_to_time_string (ecma_value_t this_arg) /**< this arg static ecma_completion_value_t ecma_builtin_date_prototype_to_locale_string (ecma_value_t this_arg) /**< this argument */ { - ECMA_BUILTIN_CP_UNIMPLEMENTED (this_arg); + return ecma_builtin_date_prototype_to_string (this_arg); } /* ecma_builtin_date_prototype_to_locale_string */ /** @@ -314,7 +314,7 @@ ecma_builtin_date_prototype_to_locale_string (ecma_value_t this_arg) /**< this a static ecma_completion_value_t ecma_builtin_date_prototype_to_locale_date_string (ecma_value_t this_arg) /**< this argument */ { - ECMA_BUILTIN_CP_UNIMPLEMENTED (this_arg); + return ecma_builtin_date_prototype_to_date_string (this_arg); } /* ecma_builtin_date_prototype_to_locale_date_string */ /** @@ -329,7 +329,7 @@ ecma_builtin_date_prototype_to_locale_date_string (ecma_value_t this_arg) /**< t static ecma_completion_value_t ecma_builtin_date_prototype_to_locale_time_string (ecma_value_t this_arg) /**< this argument */ { - ECMA_BUILTIN_CP_UNIMPLEMENTED (this_arg); + return ecma_builtin_date_prototype_to_time_string (this_arg); } /* ecma_builtin_date_prototype_to_locale_time_string */ /**