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

QFileInfo::lastModified sometimes returns wrong timestamp on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 Alpha
    • 4.6.3, 4.7.0
    • Core: I/O
    • None

    Description

      QFileInfo::lastModified sometimes returns wrong timestamp because of a bug in the Win API.
      There seems to be a problem with GetFileAttributes and Qt should work around this.

      See attached test program.
      Just call it with a filename as argument.

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            bholm Benedikte Holm (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes