correct the date storing
svn path=/trunk/KDE/kdelibs/; revision=1189354
This commit is contained in:
parent
c2b3a225ab
commit
535be3c4e2
@ -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"]);
|
||||
|
Loading…
Reference in New Issue
Block a user