[iot][time] fix libicu new version applied 99/310899/1
authorchen <chen89.chen@samsung.com>
Fri, 10 May 2024 00:50:55 +0000 (08:50 +0800)
committerchen <chen89.chen@samsung.com>
Fri, 10 May 2024 00:51:00 +0000 (08:51 +0800)
Change-Id: I7b283920c1ef78698934fac4c2a6bb1ba1ddabc4
Signed-off-by: chen <chen89.chen@samsung.com>
common/tct-time-tizen-tests/time/TZDate_toLocaleString_for_specific_date.html
common/tct-time-tizen-tests/time/TimeUtil_getTimeFormat.html

index aa030d61f4c78ff443ab84b01e81c3fc98b160d9..db93c9febc7068633c241c35b47bc47ef5f47b68 100755 (executable)
@@ -40,7 +40,7 @@ Authors:
 //==== PRIORITY P1
 //==== TEST_CRITERIA MNA MR
 test(function () {
-    assert_equals(date.toLocaleString(), /Friday, November 11, 2011 at 4:55:54 AM/, this.name);
+    assert_equals(date.toLocaleString(), "Friday, November 11, 2011 at 4:55:54 AM", this.name);
 }, document.title);
 
 </script>
index aff60de667b1f0e0d5c5975598f954d6b7720558..c0e36f85b47139ec08772df66c31096a8405747c 100755 (executable)
@@ -40,7 +40,7 @@ test(function () {
     var returnedValue;
     returnedValue = tizen.time.getTimeFormat();
     assert_type(returnedValue, "string", "Time format type");
-    assert_equals(returnedValue, TIME_FORMAT, "Time format");
+    assert_equals(returnedValue, "h:m:s ap", "Time format");
 }, document.title);
 
 </script>