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

    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

        Issue Links

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

          Activity

            People

              allan.jensen Allan Sandfeld Jensen
              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