Closed GoogleCodeExporter closed 8 years ago
Also,
Date.parse("2009-12-31 12:00:00 AM").equals(new Date("2009-12-31 12:00:00 AM"))
is false.
Tested in
chrome 17.0.963.83,
ie 9.0.8112.16421,
opera 11.61
Original comment by darieca...@gmail.com
on 28 Mar 2012 at 2:04
new Date("2009-12-31 12:00:00 AM") is not parsed correctly by native JavaScript
into a Date object. The code will create an invalid Date, which is why
.equals() will return false. This string format is not supported by the native
JavaScript new Date() constructor. If you wish to use this string date format,
please use the DateJS Date.parse() function.
Original comment by ge...@ext.net
on 10 Apr 2012 at 5:53
Original issue reported on code.google.com by
ehrlich....@gmail.com
on 16 Jun 2011 at 3:06