Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
Mac
-
fb5c74a07dac7deedb9ab3b8b4390941e5dd0762
Description
When you insert a "new Date()" javascript object into the model and try to display it through a delegate, the type information seems to be lost. The way you can work around it is to do a date.toUTCString() when you store it and create a "new Date(model.date)" in the delegate.
This probably adds significant a significant performance loss for larger models.
Attachments
For Gerrit Dashboard: QTBUG-24456 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
29391,1 | Support JS Date object in ListModel with static roles. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |