Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77948 Rewrite QDateTimeParser
  3. QTBUG-139223

Rework timezone parsing for the new date-time parser.

XMLWordPrintable

    • All
    • Foundation Sprint 113, Foundation Sprint 114, Foundation Sprint 115, Foundation Sprint 116, Foundation Sprint 117, Foundation Sprint 118, Foundation Sprint 119, Foundation Sprint 120, Foundation Sprint 121, Foundation Sprint 122, Foundation Sprint 123, Foundation Sprint 124, Foundation Sprint 125, Foundation Sprint 126, Foundation Sprint 127, Foundation Sprint 128, Foundation Sprint 129, Foundation Sprint 130, Foundation Sprint 131, Foundation Sprint 132, Foundation Sprint 133, Foundation Sprint 134, Foundation Sprint 135, Foundation Sprint 136, Foundation Sprint 137, Foundation Sprint 138

      The new date-time parser should be able to just scan the text once for the zone suffix, where the present parser's structure obliges it to reparse the zone suffix after finding it, to obtain the QTimeZone object the text parsed represents. QTimeZonePrivate's current `findLongNamePrefix()` recognises some offset formats used as fallbacks for a long name when a suitable name is not available; these should at least be broken out to separate calls to use as fallbacks after it (if only because it's currently called both with and without its optional atEpochMillis, which the fallbacks ignore, to save checking for them repeatedly).

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

            Eddy Edward Welbourne
            Eddy Edward Welbourne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes