[odb-users] Problem with QDate and Sqlite when it's mapped with TEXT type

Boris Kolpackov boris at codesynthesis.com
Tue Sep 15 05:56:05 EDT 2015


Hi Ali,

> Using QLocate::c() static function, the problem of the proposed
> fix can be solved.
> 
> std::string s(QLocale::c().toString(v, "yyyy-MM-dd").toLatin1().constData());

Ok, that looks better. Will apply the fix for the next release.

Boris



More information about the odb-users mailing list