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

QML's parsing of ISO 8601 date strings is inconsistent with V8.

    XMLWordPrintable

Details

    Description

      V8 always assumes a UTC time zone when parsing ISO 8601 date strings with no time zone offset. QDateTime uses the local time zone if a trailing 'Z' or time zone offset is omitted. V8's behavior is deliberate and correct according to the ES5 errata (http://code.google.com/p/v8/issues/detail?id=1498).

      There seems to be a question mark over the correctness of the ES5 errata which could see a future change in V8's behaviour, but for the sake of consistency in the mean time QML's parsing should probably try and match V8 as closely as possible.

      Attachments

        Issue Links

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

          Activity

            People

              denexter Andrew den Exter (closed Nokia identity) (Inactive)
              denexter Andrew den Exter (closed Nokia identity) (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes