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

nanosecond support in QDateTime

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Out of scope
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: Date/Time
    • Labels:
      None

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes