aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/qt/date-time/sqlite/qdate-time-traits.hxx2
-rw-r--r--odb/qt/date-time/sqlite/qdate-traits.hxx2
-rw-r--r--odb/qt/date-time/sqlite/qtime-traits.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/odb/qt/date-time/sqlite/qdate-time-traits.hxx b/odb/qt/date-time/sqlite/qdate-time-traits.hxx
index ef8a714..259d1c8 100644
--- a/odb/qt/date-time/sqlite/qdate-time-traits.hxx
+++ b/odb/qt/date-time/sqlite/qdate-time-traits.hxx
@@ -40,7 +40,7 @@ namespace odb
v = QDateTime ();
else
v = QDateTime::fromString (
- QString::fromAscii (i.data (), static_cast<int> (n)),
+ QString::fromLatin1 (i.data (), static_cast<int> (n)),
"yyyy-MM-ddTHH:mm:ss.zzz");
}
diff --git a/odb/qt/date-time/sqlite/qdate-traits.hxx b/odb/qt/date-time/sqlite/qdate-traits.hxx
index 05b96fc..175dc6b 100644
--- a/odb/qt/date-time/sqlite/qdate-traits.hxx
+++ b/odb/qt/date-time/sqlite/qdate-traits.hxx
@@ -41,7 +41,7 @@ namespace odb
v.setDate (0, 0, 0);
else
v = QDate::fromString (
- QString::fromAscii (i.data (), static_cast<int> (n)),
+ QString::fromLatin1 (i.data (), static_cast<int> (n)),
"yyyy-MM-dd");
}
diff --git a/odb/qt/date-time/sqlite/qtime-traits.hxx b/odb/qt/date-time/sqlite/qtime-traits.hxx
index 141090b..897fe22 100644
--- a/odb/qt/date-time/sqlite/qtime-traits.hxx
+++ b/odb/qt/date-time/sqlite/qtime-traits.hxx
@@ -41,7 +41,7 @@ namespace odb
v.setHMS (24, 0, 0);
else
v = QTime::fromString (
- QString::fromAscii (i.data (), static_cast<int> (n)),
+ QString::fromLatin1 (i.data (), static_cast<int> (n)),
"HH:mm:ss.zzz");
}