summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtest.h
diff options
context:
space:
mode:
authorRobert Szefner <r.szefner@hydro-partner.pl>2019-12-07 00:05:47 +0100
committerRobert Szefner <r.szefner@hydro-partner.pl>2019-12-10 21:21:34 +0100
commit6ffedc07a77a8e3d46851b74cf9456d5abf6f612 (patch)
tree6a77d422e938cb0bcd7ad42808b6a382f0715d78 /src/testlib/qtest.h
parent382f1a221b353892844dc7b1495741c4669955e7 (diff)
PSQL: Optimize QPSQLResult::data() function for date and time types
Minor performance optimalizations: - No need to check if the date and time are correct because the QDate, QTime and QDateTime parsing functions already perform these checks - No need to add minute part to the UTC offset before parsing the date, because the QDateTime class can parse time zone offset both in form ±hh:mm and ±hh Change-Id: Id74b7ae075135c5c8cf420247c49b5f12fe88899 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtest.h')
0 files changed, 0 insertions, 0 deletions