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

Different Behavior Regarding Going out Summer Time between Linux and Windows

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      With the attached program, it is giving different output on Linux and Windows

      On Linux

      TEST
      date =[2019/09/21], time =[22:59:59]
      datetime msec =[1569090599000]
      datetime toString =[2019/09/21 22:59:59]
      datetime toUTC toString =[2019/09/21 18:29:59]
      datetime timeZone =[イラン夏時間] (Iran Summer time in English)

      So it is still in Summer Time on 22:59:59

      On Windows
      TEST
      date =[2019/09/21], time =[22:59:59]
      datetime msec =[1569094199000]
      datetime toString =[2019/09/21 22:59:59]
      datetime toUTC toString =[2019/09/21 19:29:59]
      datetime timeZone =[イラン標準時] (Iran Standard time in English)

      So it is out of Summer Time on the same time, and and UTC time becomes 1h ahead

      In 5.12 it was the same as now on 5.15 (different behavior on Linux and Windows)
      In 5.6 and on Windows it was the same behavior as now in Linux

        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:
            yifei Yi Fei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes