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

Docs: Fixed day/year format in QDateTime

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.10
    • 4.8.x, 5.9.1
    • Core: Date/Time
    • None
    • Linux, but this is a documentation problem.
    • qtbase/dev: 047e0e5118584149d0c6b1840644d902cfe548ef, ac382bd9a (dev), 3efa7c427 (6.7), 4963de506 (6.6), b237e137a (tqtc/lts-6.5)

    Description

      QDateTime takes dd and yyyy. It is confusing when the example format strings don't work because they use DD YYYY, and it is a silent error with the characters not getting substituted and can be easy to miss.

       

      It is less clear how to fixup the qnamespace.qdoc problem.

      \c{YYYY-MM-DDTHH:mm:ssTZD} (e.g., 1997-07-16T19:20:30+01:00)

      Is this okay?
      \c{yyyy-MM-ddTHH:mm:sst} (e.g., 1997-07-16T19:20:30UTC)

      But isn't the cited ISO 8601 require it to be the +/-HH:mm format?  I don't see a character to output that for in QDateTime.

      Attachments

        Issue Links

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

          Activity

            People

              Eddy Edward Welbourne
              david@fries.net David Fries
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes