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

utcdatetime of cpp is shown as local time in javascript

    XMLWordPrintable

Details

    Description

      QScriptEngine::evaluate() calls a javascript which has,

      print("JS: " + cpp.getTimestampUTC().toString());

      This prints local time, whereas the cpp prints UTC time.

      Example app is attached.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            tapadar Indrajit Tapadar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes