diff ui/downloader.cpp @ 442:d2f4e28b5a13

Fix date format for file names
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 22 Apr 2014 14:27:19 +0000
parents 17e1c8f37d72
children 20f539866fa8
line wrap: on
line diff
--- 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;

http://wald.intevation.org/projects/trustbridge/