Open GoogleCodeExporter opened 8 years ago
Did some changes to parsing a while ago, without being aware of this bug.
But now it seems fixed. The code below shows "Date is invalid"
var dateParser = new goog.i18n.DateTimeParse(goog.i18n.DateTimeFormat.Format.MEDIUM_DATE);
var date = new Date();
if (dateParser.strictParse("Feb 31, 2012", date) > 0)
alert("Date is valid");
else
alert("Date is invalid");
Original comment by mn...@google.com
on 5 Mar 2014 at 7:33
Original issue reported on code.google.com by
jzikov...@gmail.com
on 11 Jun 2012 at 8:48