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

tst_QDateTime::zoneAtTime fails on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.1
    • 5.11
    • Core: Date/Time
    • None
    • Android 6
    • cffa010d42b5103aada292c8e1e5b57760d7bdb7

    Description

      A few different cases are failing, common for each is that the 'actual' is always 0.

      FAIL! : tst_QDateTime::zoneAtTime(after:ACWST) Compared values are not the same 
      Actual (QDateTime(date, noon, zone).offsetFromUtc()): 0 
      Expected (offset) : 35100 
      Loc: [D:\projects\qt\5.11\src\qtbase\tests\auto\corelib\tools\qdatetime\tst_qdatetime.cpp(2678)] 
      FAIL! : tst_QDateTime::zoneAtTime(before:NPT) Compared values are not the same 
      Actual (QDateTime(date, noon, zone).offsetFromUtc()): 0 
      Expected (offset) : 19800 
      Loc: [D:\projects\qt\5.11\src\qtbase\tests\auto\corelib\tools\qdatetime\tst_qdatetime.cpp(2678)] 
      FAIL! : tst_QDateTime::zoneAtTime(before:LINT) Compared values are not the same 
      Actual (QDateTime(date, noon, zone).offsetFromUtc()): 0 
      Expected (offset) : -36000 
      Loc: [D:\projects\qt\5.11\src\qtbase\tests\auto\corelib\tools\qdatetime\tst_qdatetime.cpp(2678)]

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            manordheim MÃ¥rten Nordheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes