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

Bug#917711: Bug triaged and submitted upstream



Control: tags -1 patch pending

Hi Giovanni,

On Sat, Mar 30, 2019 at 02:12:29PM +0100, Giovanni Mascellani wrote:
> I triaged and submitted upstream this bug:
> 
>   https://github.com/steveire/grantlee/issues/51
> 
> The upstream bug contains my current understanding of the bug and asks
> for help on how to proceed, because I am not really sure on what is the
> best way forward.
> 
> I hope this helps fixing the bug!

It seems upstream came to the same conclusion as you. This patch was committed
upstream:

https://github.com/steveire/grantlee/commit/3cb4bd24e127b7f55d463d934cad27f8c07c4406

I uploaded an NMU based on that patch. Debdiff attached.

Cheers,

Ivo

diff -Nru grantlee5-5.1.0/debian/changelog grantlee5-5.1.0/debian/changelog
--- grantlee5-5.1.0/debian/changelog	2016-10-24 09:35:52.000000000 +0000
+++ grantlee5-5.1.0/debian/changelog	2019-04-15 14:53:13.000000000 +0000
@@ -1,3 +1,10 @@
+grantlee5 (5.1.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch datatime-fractional.diff to fix FTBFS (Closes: #917711)
+
+ -- Ivo De Decker <ivodd@debian.org>  Mon, 15 Apr 2019 14:53:13 +0000
+
 grantlee5 (5.1.0-2) unstable; urgency=medium
 
   [ Helmut Grohne ]
diff -Nru grantlee5-5.1.0/debian/patches/datatime-fractional.diff grantlee5-5.1.0/debian/patches/datatime-fractional.diff
--- grantlee5-5.1.0/debian/patches/datatime-fractional.diff	1970-01-01 00:00:00.000000000 +0000
+++ grantlee5-5.1.0/debian/patches/datatime-fractional.diff	2019-04-15 14:53:13.000000000 +0000
@@ -0,0 +1,15 @@
+See
+https://github.com/steveire/grantlee/commit/3cb4bd24e127b7f55d463d934cad27f8c07c4406
+https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917711
+
+--- a/templates/defaultfilters/datetime.cpp
++++ b/templates/defaultfilters/datetime.cpp
+@@ -97,7 +97,7 @@
+ {
+   Q_UNUSED(autoescape)
+   auto d = QDateTime::fromString(getSafeString(input),
+-                                 QStringLiteral("yyyy-MM-ddThh:mm:ss"));
++                                 QStringLiteral("yyyy-MM-ddThh:mm:ss.zzz"));
+ 
+   auto argString = getSafeString(argument);
+ 
diff -Nru grantlee5-5.1.0/debian/patches/series grantlee5-5.1.0/debian/patches/series
--- grantlee5-5.1.0/debian/patches/series	2016-10-24 09:35:52.000000000 +0000
+++ grantlee5-5.1.0/debian/patches/series	2019-04-15 14:53:13.000000000 +0000
@@ -1 +1,2 @@
 variantIsTrue-float-fix.diff
+datatime-fractional.diff

Reply to: