Bug 513115 - EMCA5: test failures in ecma_5/Date/15.9.4.2.js. r=dmandelin.
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 03 Sep 2009 15:52:03 -0500
changeset 32657 6f6aeece5fe4b0ad41c343b5b2da37b637634155
parent 32656 0e7d673ab750e38423c5ec9049fddcdbe7946dc6
child 32658 842e6c09e35a1a0522a20d0403395480ae685e6f
push id9160
push usermrbkap@mozilla.com
push dateWed, 16 Sep 2009 23:16:27 +0000
treeherdermozilla-central@5ac5a4d5563e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmandelin
bugs513115
milestone1.9.3a1pre
Bug 513115 - EMCA5: test failures in ecma_5/Date/15.9.4.2.js. r=dmandelin.
js/tests/ecma_5/Date/15.9.4.2.js
--- a/js/tests/ecma_5/Date/15.9.4.2.js
+++ b/js/tests/ecma_5/Date/15.9.4.2.js
@@ -101,19 +101,19 @@ function test()
   check("2009-07T19:53:21.001",          dd(2009,7,1,19,53,21,1)+JulTZ);
   check("2009-07T19:53:21",              dd(2009,7,1,19,53,21,0)+JulTZ);
   check("2009-07T19:53",                 dd(2009,7,1,19,53,0,0)+JulTZ);
 
   check("2009T19:53:21.001",             dd(2009,1,1,19,53,21,1)+JanTZ);
   check("2009T19:53:21",                 dd(2009,1,1,19,53,21,0)+JanTZ);
   check("2009T19:53",                    dd(2009,1,1,19,53,0,0)+JanTZ);
 
-  check("T19:53:21.001",                 dd(1970,1,1,19,53,21,1)+CurrTZ);
-  check("T19:53:21",                     dd(1970,1,1,19,53,21,0)+CurrTZ);
-  check("T19:53",                        dd(1970,1,1,19,53,0,0)+CurrTZ);
+  check("T19:53:21.001",                 dd(1970,1,1,19,53,21,1)+JanTZ);
+  check("T19:53:21",                     dd(1970,1,1,19,53,21,0)+JanTZ);
+  check("T19:53",                        dd(1970,1,1,19,53,0,0)+JanTZ);
 
   // with no time at all assume UTC
   check("2009-07-23",                    dd(2009,7,23,0,0,0,0));
   check("2009-07",                       dd(2009,7,1,0,0,0,0));
   check("2009",                          dd(2009,1,1,0,0,0,0));
   check("",                              NaN);
 
   // one field too big