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

Support turning off the timezone feature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.15
    • Core: Date/Time
    • None
    • bed25fdf6065d7137fa5610e4f214e9a8f8e172b (qt/qtbase/dev) c7f14deb7c9b517edaa8548f387d6eae1663ec7b (qt/qtbase/5.15)

    Description

      Current date-time handling is rather limited without QT_CONFIG(timezone): it is able to support Qt::LocalTime time-spec only and Qt::UTC/Qt::OffsetFromUTC are not handled correctly together.

      More specifically, it happens in cases when date-time format string includes a `t` specifier and the date-time string has corresponding time zone specifier which is a UTC-offset zone identifier e.g. 2001-09-15T09:33:01.001UTC-03:00 is not supported without QTimeZone. Oppositely, if timezone feature is enabled (default), the example above produces expected result.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-83844
          # Subject Branch Project Status CR V

          Activity

            People

              agolubev Andrei Golubev
              agolubev Andrei Golubev
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes