[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754061: qtdeclarative-opensource-src: Does not work with the RFC2822 datetime format



Source: qtdeclarative-opensource-src
Severity: normal
Tags: upstream

Dear Maintainer,

I tested that the https://bugreports.qt-project.org/browse/QTBUG-38011 
still seems to apply to Debian's Qt 5.3.1, despite upstream's thoughts 
that it would have been fixed in 5.3.0.

That is, running qmlscene date.qml with the attached QML file gives 
me Invalid Date both on 5.3.0 (tested in Ubuntu) and Debian's 5.3.1.

There is a two-liner patch related to the upstream bug report that I 
tested fixed the problem on Ubuntu's 5.3.0.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
import QtQuick 2.0

Rectangle {

  Component.onCompleted: {
     var dateObj = new Date("Wed, 18 Sep 2013 07:00:51 -0700")

     console.log("dateObj: ", dateObj)
  }
}


Reply to: