From: lin qunfang Date: Mon, 14 May 2018 17:13:44 +0000 (+0800) Subject: [common][time][TFIVE-1766, getDateFormat fails in tv] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b0721a3498e07d1fba6b2223a753c9025c3971d;p=test%2Ftct%2Fweb%2Fapi.git [common][time][TFIVE-1766, getDateFormat fails in tv] Change-Id: Ib342546933083d5bc0c71fe537ac0001b7fc1c80 Signed-off-by: lin qunfang --- diff --git a/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html index 2915de838..e702ae912 100755 --- a/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html +++ b/common/tct-time-tizen-tests/time/TimeUtil_getDateFormat_tv.html @@ -41,7 +41,7 @@ test(function () { var returnedValue, shortformat = true; returnedValue = tizen.time.getDateFormat(shortformat); assert_type(returnedValue, "string", "Timezone type"); - assert_equals(returnedValue, "y. m. d.", "Date format"); + assert_equals(returnedValue, getShortDateFormat(DATE_FORMAT), "Date format"); }, document.title);