From: Junghyuk Park Date: Mon, 26 Aug 2013 05:32:42 +0000 (+0900) Subject: [Time] Fixed 32bit time issue X-Git-Tag: 2.2.1_release~114^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b70ac41ad23ea0810fb41f8a0377bede46f68cc2;p=test%2Ftct%2Fweb%2Fapi.git [Time] Fixed 32bit time issue Change-Id: I67a68a901361fe6fa814a6fc96fdeeb7112f5369 --- diff --git a/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html b/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html old mode 100644 new mode 100755 index 1933f138f..8359f4316 --- a/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html +++ b/tct-time-tizen-tests/time/TZDate_constructor_maximal_with_optional_arguments.html @@ -41,10 +41,10 @@ Authors: //==== SPEC_URL: https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/time.html //==== TEST_CRITERIA CONSTRM CONSTRA test(function () { - var timezone = "Europe/Warsaw", date = new Date(2120, 2, 1), tzdate; + var timezone = "Europe/Warsaw", date = new Date(2020, 2, 1), tzdate; tzdate = new tizen.TZDate(date, timezone); assert_type(tzdate, "object", "type check"); - assert_equals(tzdate.getFullYear(), 2120, "date check"); + assert_equals(tzdate.getFullYear(), 2020, "date check"); assert_equals(tzdate.getTimezone(), "Europe/Warsaw", "timezone check"); }, "TZDate_constructor_maximal_with_optional_arguments");