Reviewers: Dmitry Lomov (chromium), mnita,

Message:
Dmitry, this is the same CL you reverted with small fix in:

test/intl/date-format/parse-mdy.js
test/intl/date-format/parse-MMMdy.js

We switched from using getDate to getUTCDate (and getUTCFullYear and getUTCMonth
but that was only for consistency) to skip problems with DST on Linux vs.
Windows (see CL description).

Could you take a look?

Description:
Original review https://codereview.chromium.org/25855005.

Reverting reverted r17148 and fixing build (test) breakage by side stepping the Windows vs. Linux issue of different Date object for the same millisecond time
stamp.
We do that by using UTC Date methods (they eliminate DST problems).

Windows:
new Date(129193200000);
Sun Feb 03 1974 23:00:00 GMT-0800 (Pacific Standard Time)

Linux:
new Date(129193200000);
Mon Feb 04 1974 00:00:00 GMT-0700 (PST)

BUG=2919


Please review this at https://codereview.chromium.org/26918002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+62, -90 lines):
  M src/i18n.js
  M test/intl/date-format/parse-MMMdy.js
  M test/intl/date-format/parse-mdy.js
  M test/intl/date-format/parse-mdyhms.js
  A + test/intl/date-format/timezone-name.js
  D test/intl/date-format/utils.js
  M test/intl/testcfg.py


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to