Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.0, 5.2.1
-
None
-
Ubuntu desktop 12.04
Ubuntu desktop 13.10
Ubuntu Touch 14.04 r250
Description
var datestring = "Wed, 18 Sep 2013 07:00:51 -0700"
console.log("Date.parse: ", Date.parse(datestring))
or
var dateObj = new Date("Wed, 18 Sep 2013 07:00:51 -0700")
console.log("dateObj: ", dateObj)
1) output: Date.parse: NaN
2) output: dateObj: Invalid Date
both code work fine with v8 engine
Attachments
For Gerrit Dashboard: QTBUG-38011 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
102892,7 | Parse dates as Qt::RFC2822Date too | 5.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |