What steps will reproduce the problem?
1. Paste this:
dateTest = TestCase("dateTest");
dateTest.prototype.testDate = function(){
jstestdriver.console.log("datetest", new Date());
};
2. Run it with jstestdriver 1.3.2
What is the expected output? What do you see instead?
expected: 2011-04-21T14:51:12:02.055Z (Romance Daylight Time)
what I see: 2011-04-21T12:51:12:02.055Z
(2 hours difference).
This when I just do new Date();
With: new Date(2011,4,21) it gives 2011-04-20T23:00:00:00.000Z
What version of the product are you using? On what operating system?
jstestdriver v: 1.3.2
OS: win xp
Please provide any additional information below.
Original issue reported on code.google.com by john.sch...@gmail.com on 21 Apr 2011 at 12:57
Original issue reported on code.google.com by
john.sch...@gmail.com
on 21 Apr 2011 at 12:57