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

QDateTime::secsTo () allow for bigger return values

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P4: Low
    • 5.0.0
    • 5.0.0
    • Core: Date/Time
    • None

    Description

      Currently QDateTime::secsTo() returns an integer of the number of seconds between two date times. This means the maximum interval between values is around 68 years.

      It would be nice if secsTo was changed to return a qint64, or a new method was created that could handle larger time differences.

      Attachments

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

        Activity

          People

            johnlayt John Layt
            dettman Dean Dettman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes