Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24456

Incorrect type handling for date objects in ListView

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            glwatson Glenn Watson
            bachewii Jens
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes