correct the date storing

svn path=/trunk/KDE/kdelibs/; revision=1189354
This commit is contained in:
Marco Martin 2010-10-24 19:19:15 +00:00
parent c2b3a225ab
commit 535be3c4e2

View File

@ -79,7 +79,7 @@ void StorageJob::start()
query.bindValue(":id", params["key"].toString());
query.exec();
query.prepare("insert into "+m_clientName+" values(:valueGroup, :id, :datavalue, 'now')");
query.prepare("insert into "+m_clientName+" values(:valueGroup, :id, :datavalue, date('now'))");
query.bindValue(":id", params["key"].toString());
query.bindValue(":valueGroup", valueGroup);
query.bindValue(":datavalue", params["data"]);