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

webassembly: declarative Date fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.11.0 Alpha
    • QPA
    • None
    • WebAssembly
    • e1443d4e186b8fecfb6ffb890c8780fd0552dceb

    Description

      Trying

           var date = new Date;
           hours = date.getUTCHours() 
      

      fails with:

      09:13:07.240 (unknown:79) - qrc:///demos/clocks/content/Clock.qml:79: TypeError: Property 'getUTCHours' of object function() { [code] } is not a function
      

      Attachments

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

        Activity

          People

            lpotter Lorn Potter
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes