Index: test/mjsunit/date.js |
=================================================================== |
--- test/mjsunit/date.js (revision 4232) |
+++ test/mjsunit/date.js (working copy) |
@@ -48,7 +48,7 @@ |
assertEquals(8.64e15, dMax.getTime()); |
assertEquals(275760, dMax.getFullYear()); |
assertEquals(8, dMax.getMonth()); |
-assertEquals(13, dMax.getDate()); |
+assertEquals(13, dMax.getUTCDate()); |
var dOverflow = new Date(8.64e15+1); |
assertTrue(isNaN(dOverflow.getTime())); |
@@ -57,7 +57,7 @@ |
assertEquals(-8.64e15, dMin.getTime()); |
assertEquals(-271821, dMin.getFullYear()); |
assertEquals(3, dMin.getMonth()); |
-assertEquals(20, dMin.getDate()); |
+assertEquals(20, dMin.getUTCDate()); |
var dUnderflow = new Date(-8.64e15-1); |
assertTrue(isNaN(dUnderflow.getTime())); |