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

Javascript dates are broken starting with 2014-10-26 (GMT+4 Europe/Moscow).

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 4.8.6, 5.3.2
    • Fix Version/s: 4.8.7, 5.4.0 Beta
    • Labels:
      None
    • Environment:
      Linux pc 3.16.2-1-ARCH #1 SMP PREEMPT Sat Sep 6 13:12:51 CEST 2014 x86_64 GNU/Linux

      Description

      new Date('2014-10-25').toString() === "Sat Oct 25 2014 04:00:00 GMT+0400 (MSK)"
      new Date('2014-10-26').toString() === "Mon Oct 27 2014 03:00:00 GMT+2700 (MSK)"
      new Date('2014-10-27').toString() === "Mon Oct 28 2014 03:00:00 GMT+2700 (MSK)"
      

      GMT+2700

      Reproducible in qt4 webkit, qmlviewer-qt4, qmlviewer-qt5.
      Not reproducible in 5.3.2 webkit and qmlscene.

      Depends on the current timezone and tzdata version.

      qtwebkit 2.3.3-2
      tzdata 2014g-1 (2014f-1 also affected)
      timezone is Europe/Moscow.

      Attached is zdump for Europe/Moscow.

        Attachments

        1. plasma-desktopxcf797.png
          10 kB
          Сковорода Никита
        2. tzbreak.qml
          0.1 kB
          Сковорода Никита
        3. tzdata.2014g.Europe-Moscow.zdump.txt
          18 kB
          Сковорода Никита

          Issue Links

          For Gerrit Dashboard: QTBUG-41422
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              chalker Сковорода Никита
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes