]> Git trees. - libqmvoc.git/commitdiff
I hate to have to manually put down change dates on the web site - let the writer...
authorFrederik Gladhorn <gladhorn@kde.org>
Mon, 12 Jan 2009 05:49:27 +0000 (05:49 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Mon, 12 Jan 2009 05:49:27 +0000 (05:49 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=909757

keduvocdocument/keduvockvtml2writer.cpp

index 7ba743e0df5cd8a3d9d4d4516ce98d6aae9bab38..485cc41035d6cb871bb066bf498786a17f3b0cf5 100644 (file)
@@ -142,6 +142,9 @@ bool KEduVocKvtml2Writer::writeInformation( QDomElement &informationElement, con
         informationElement.appendChild( newTextElement( KVTML_COMMENT, m_doc->documentComment() ) );
     }
 
+    QDate today = QDate::currentDate();
+    informationElement.appendChild( newTextElement( KVTML_DATE, today.toString(QLatin1String("yyyy-MM-dd")) ) );
+
     // category
     if ( !m_doc->category().isEmpty() ) {
         informationElement.appendChild( newTextElement( KVTML_CATEGORY, m_doc->category() ) );