r21892 by jghali - fix missing seconds in date format in PDF

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 14 10:30:50 UTC 2017


Author: jghali
Date: Fri Apr 14 10:30:50 2017
New Revision: 21892

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21892
Log:
fix missing seconds in date format in PDF

Modified:
    trunk/Scribus/scribus/pdfwriter.cpp

Modified: trunk/Scribus/scribus/pdfwriter.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21892&path=/trunk/Scribus/scribus/pdfwriter.cpp
==============================================================================
--- trunk/Scribus/scribus/pdfwriter.cpp	(original)
+++ trunk/Scribus/scribus/pdfwriter.cpp	Fri Apr 14 10:30:50 2017
@@ -455,7 +455,7 @@
 	
 	QByteArray toDateString(QDateTime dt)
 	{
-		QString tmp = dt.toString("yyyy:MM:dd:HH:mm");
+		QString tmp = dt.toString("yyyy:MM:dd:HH:mm:ss");
 		tmp = tmp.replace(":", "");
 		return "D:" + tmp.toLatin1() + "Z";
 	}




More information about the scribus-commit mailing list