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

Daylight Savings missing from QDateTime on Symbian

    XMLWordPrintable

Details

    • 2a20705f874ddad55282f22fabfe30927729ae50, 706fc1c894addd6602470b25aba686491c891a14

    Description

      Setting timezone to CET and running tests/auto/qdatetime will result in skipped tests as current implementation of QDateTime for Symbian is missing DST component completely.

      tst_QDateTime::tst_QDateTime()
      {
          uint x1 = QDateTime(QDate(1990, 1, 1), QTime()).toTime_t();
          uint x2 = QDateTime(QDate(1990, 6, 1), QTime()).toTime_t();
          europeanTimeZone = (x1 == 631148400 && x2 == 644191200);
      }
      

      x2 != 466191200 since it misses 1 hour or 3600 seconds from DST making the decision point of the test also invalid as there is no tests run for DST if this check fails.

      Attachments

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

        Activity

          People

            zhongle honglei zhang
            e0150566 Janne Koskinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes