summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2013-02-11 20:46:54 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-12 10:59:25 +0100
commitc6d522532a19ab1547c14799a25b8a49405dcc2a (patch)
treeb48820450da257c5ca4443205489d5e75689c441 /src/sql
parent46b7c91c81de2d830e7a7c993ea3e94e5d182124 (diff)
qpsql: fix spelling in comment
Change-Id: I3d1abd6041a4adf425ba7851146659655fc12183 Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/drivers/psql/qsql_psql.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sql/drivers/psql/qsql_psql.cpp b/src/sql/drivers/psql/qsql_psql.cpp
index 678e83690a..1d96e9f93b 100644
--- a/src/sql/drivers/psql/qsql_psql.cpp
+++ b/src/sql/drivers/psql/qsql_psql.cpp
@@ -1208,8 +1208,7 @@ QString QPSQLDriver::formatValue(const QSqlField &field, bool trimStrings) const
if (field.value().toDateTime().isValid()) {
QDate dt = field.value().toDateTime().date();
QTime tm = field.value().toDateTime().time();
- // msecs need to be right aligned otherwise psql
- // interpretes them wrong
+ // msecs need to be right aligned otherwise psql interprets them wrong
r = QLatin1Char('\'') + QString::number(dt.year()) + QLatin1Char('-')
+ QString::number(dt.month()) + QLatin1Char('-')
+ QString::number(dt.day()) + QLatin1Char(' ')