Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-103962 Modernize QML/Quick examples
  3. QTBUG-115111

Quick Clocks demo uses hard-coded time-zone offsets

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Quick: Other
    • None
    • All

    Description

      The Qt Quick Demo - Clocks uses hard-coded fixed offsets from UTC for the various cities it demonstrates. As a result, it is wrong half the time. It should use the actual time-zone names (which, in most cases, are just the same city names but with a continent prefix, e.g. Europe/London) so that the underlying date-time code can supply the correct time for each city, by passing that zone name to QTimeZone.

      Source code is at qtdoc/examples/demos/clocks/
      For the cities listed in its clocks.qml, the relevant zones are:

      • America/New_York
      • Europe/London
      • Europe/Oslo
      • Asia/Kolkata for Mumbai
      • Asia/Tokyo
      • Australia/Brisbane
      • America/Los_Angeles

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Eddy Edward Welbourne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes