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

nanosecond support in QDateTime

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • None
    • Core: Date/Time
    • None

      QDateTime should support RFC-3339 formatted timestamp with nanosecond precision.  Computer runs a lot faster these days than a decade ago.   Millisecond precision is not enough anymore.   I checked QDateTime source code.  Looks like it will be a minor change.  Update the parsing in fromIsoTimeString function.  Use double instead of float to store the second with ns.   It would be nice to have this small feature added in 6.2 release.

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

            thiago Thiago Macieira
            streamer Yuan Song
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes