Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: test/intl/date-format/parse-mdy.js

Issue 26142004: Fixing build (test) breakage by side stepping the Windows vs. Linux issue of different Date object … (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/intl/date-format/parse-MMMdy.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/intl/date-format/parse-mdy.js
diff --git a/test/intl/date-format/parse-mdy.js b/test/intl/date-format/parse-mdy.js
index 788a7bbd08cd196797fb387e08c4b82325cced58..7b1a79af8604b5d50bc0edc327269011365f3aed 100644
--- a/test/intl/date-format/parse-mdy.js
+++ b/test/intl/date-format/parse-mdy.js
@@ -28,9 +28,9 @@
// Testing v8Parse method for date only.
function checkDate(date) {
- assertEquals(1974, date.getFullYear());
- assertEquals(1, date.getMonth());
- assertEquals(4, date.getDate());
+ assertEquals(1974, date.getUTCFullYear());
+ assertEquals(1, date.getUTCMonth());
+ assertEquals(4, date.getUTCDate());
}
var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'});
« no previous file with comments | « test/intl/date-format/parse-MMMdy.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698