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

tst_QDateTime::zoneAtTime fails on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.11
    • Fix Version/s: 5.11.1
    • Component/s: Core: Date/Time
    • Labels:
      None
    • Environment:
      Android 6
    • Commits:
      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

            Assignee:
            Eddy Edward Welbourne
            Reporter:
            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