Timo Jyrinki has proposed merging lp:~timo-jyrinki/kubuntu-packaging/qtdeclarative-opensource-src_fix_rfc2822_again into lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.
Commit message: * debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch - Support RFC 2822 format (LP: #1298978) Requested reviews: Kubuntu Packagers (kubuntu-packagers) Related bugs: Bug #1298978 in Ubuntu RSS Feed Reader App: "QtQuick V4 Date.Parse() does not support RFC2822 date format" https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1298978 For more details, see: https://code.launchpad.net/~timo-jyrinki/kubuntu-packaging/qtdeclarative-opensource-src_fix_rfc2822_again/+merge/225784 -- https://code.launchpad.net/~timo-jyrinki/kubuntu-packaging/qtdeclarative-opensource-src_fix_rfc2822_again/+merge/225784 Your team Kubuntu Packagers is requested to review the proposed merge of lp:~timo-jyrinki/kubuntu-packaging/qtdeclarative-opensource-src_fix_rfc2822_again into lp:~kubuntu-packagers/kubuntu-packaging/qtdeclarative-opensource-src.
=== modified file 'debian/changelog' --- debian/changelog 2014-07-01 13:58:25 +0000 +++ debian/changelog 2014-07-07 08:46:45 +0000 @@ -1,3 +1,10 @@ +qtdeclarative-opensource-src (5.3.0-3ubuntu7) utopic; urgency=medium + + * debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch + - Support RFC 2822 format (LP: #1298978) + + -- Zoltán Balogh <[email protected]> Thu, 03 Jul 2014 15:52:17 +0300 + qtdeclarative-opensource-src (5.3.0-3ubuntu6) utopic; urgency=medium * QQMLObjectCreator: Pass down parent to subCreator === added file 'debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch' --- debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch 1970-01-01 00:00:00 +0000 +++ debian/patches/Support-RFC2822Date-date-format-similar-to-V8.patch 2014-07-07 08:46:45 +0000 @@ -0,0 +1,28 @@ +Description: Support RFC 2822 datetime format + Currently a date like "Wed, 18 Sep 2013 07:00:51 -0700" cannot be parsed. + However, this used to work in Qt 5.0.2. This commit adds a check for + Qt::RFC2822Date format after the ISODate check but before the manually + defined QStringLiteral formats. + . + Note: upstream believed this bug is fixed in Qt 5.3, but it has been now + tested not to be the case with both Debian's Qt 5.3.1 and Ubuntu's Qt 5.3.0 +Author: Zoltán Balogh <[email protected]> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1298978 +Subject: [PATCH] Support RFC2822Date date format similar to V8. +Origin: upstream +Bug: https://bugreports.qt-project.org/browse/QTBUG-38011 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1298978 +Forwarded: https://bugreports.qt-project.org/browse/QTBUG-38011 +Last-Update: 2014-07-07 + +--- qtdeclarative-opensource-src-5.3.0.orig/src/qml/jsruntime/qv4dateobject.cpp ++++ qtdeclarative-opensource-src-5.3.0/src/qml/jsruntime/qv4dateobject.cpp +@@ -488,6 +488,8 @@ static inline double ParseString(const Q + QDateTime dt = QDateTime::fromString(s, Qt::TextDate); + if (!dt.isValid()) + dt = QDateTime::fromString(s, Qt::ISODate); ++ if (!dt.isValid()) ++ dt = QDateTime::fromString(s, Qt::RFC2822Date); + if (!dt.isValid()) { + QStringList formats; + formats << QStringLiteral("M/d/yyyy") === modified file 'debian/patches/series' --- debian/patches/series 2014-07-01 13:58:25 +0000 +++ debian/patches/series 2014-07-07 08:46:45 +0000 @@ -7,3 +7,4 @@ fix_qqmlobjectcreator.patch Implement-proper-support-for-layoutChange-in-QQmlDel.patch parenttosubcreator_qqmlobjectcreator.patch +Support-RFC2822Date-date-format-similar-to-V8.patch
-- kubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
