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

Support turning off the timezone feature

XMLWordPrintable

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

      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.

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

            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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes