[PATCH] Fix date format for file names

Wald Commits scm-commit at wald.intevation.org
Tue Apr 22 16:27:21 CEST 2014


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1398176839 0
# Node ID d2f4e28b5a13fc61f11be29c5da7c0d9f30c5fc6
# Parent  bd26fc6893e311d080f8691b786dbd087c8c70ab
Fix date format for file names

diff -r bd26fc6893e3 -r d2f4e28b5a13 ui/downloader.cpp
--- a/ui/downloader.cpp	Tue Apr 22 16:26:55 2014 +0200
+++ b/ui/downloader.cpp	Tue Apr 22 14:27:19 2014 +0000
@@ -228,7 +228,7 @@
         }
 
         QString fileName = dataDirectory.append("/SW-")
-            .append(remoteModSW.toString("yyyymmddHHmmss"))
+            .append(remoteModSW.toString("yyyyMMddHHmmss"))
             .append(".exe");
 
         qDebug() << "fileName: " << fileName;
@@ -247,7 +247,7 @@
         }
 
         QString fileName = dataDirectory.append("/list-")
-            .append(remoteModSW.toString("yyyymmddHHmmss"))
+            .append(remoteModSW.toString("yyyyMMddHHmmss"))
             .append(".txt");
 
         qDebug() << "fileName: " << fileName;


More information about the Trustbridge-commits mailing list