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

Daylight Savings missing from QDateTime on Symbian

XMLWordPrintable

    • 2a20705f874ddad55282f22fabfe30927729ae50, 706fc1c894addd6602470b25aba686491c891a14

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes