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

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

      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

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

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

              Created:
              Updated:

                There are no open Gerrit changes