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

Q/Date/Time: align unquoting format strings for both from/toString()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Core: Date/Time
    • None
    • 8
    • Foundation PM Staging

    Description

      All Q/Date/Time::fromString/toString() methods should handle single-quotes the same way, so that a format string survives the round-trip of fromString()/toString(). There are currently no known bugs because of this, but the parsing should be uniform anyway. At present the docs aren't even consistent with one another; and the behaviour doesn't seem to match the intended (CLDR-compatible) treatment of two adjacent single quotes in the format string (regardless of whether within other single quotes) as denoting a plain single quote character in the date/time string.

      Attachments

        Activity

          People

            Eddy Edward Welbourne
            ahmad.samir Ahmad Samir
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: