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

concerns about QDate::timeZoneOffset

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.3.0
    • Core: Date/Time
    • None

      setTimeZoneOffset is still a weak solution. A person must be able to set a timezone, like America/Los_Angeles and let the class take care of the actual offset, DST etc. KDateTime uses KTzfileTimeZone and related classes to directly select a timezone like this. For more information, see:

      http://api.kde.org/4.0-api/kdelibs-apidocs/kdecore/html/group__timezones.html
      and related pages.

      You do not need to provide timezone info yourself. You can use packages like tzdata which can be preinstalled or you can (if feasible) package it with Qt like you do libpng, sqlite etc. tzdata is public domain.

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

            Unassigned Unassigned
            rve Anders Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes