Comment #1 on issue 1386 by [email protected]: new Date() returns invalid time zone offset, and hour field
http://code.google.com/p/v8/issues/detail?id=1386

My bad, May 10 is not Wed, and May 11 is not Thu.

I was trying to make the time and date looks closer for easy comparison, as it took me some time to find out the solution.

Here goes another set of samples:

Invalid date time:
Wed May 11 2011 18:14:54 GMT+0000 (Malay Peninsula Standard Time)

Correct date time (as shown on my operating system):
Thu May 12 2011 02:13:54 GMT+0800 (Malay Peninsula Standard Time)

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to