diff options
Diffstat (limited to 'tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp')
-rw-r--r-- | tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp b/tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp index 2061345ab..f2e21636e 100644 --- a/tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp +++ b/tests/auto/versit/qversitcontactexporter/tst_qversitcontactexporter.cpp @@ -1468,17 +1468,17 @@ void tst_QVersitContactExporter::testEncodeExtendedDetail_data() QTest::newRow("datetime data (using local time)") << QString("name") << QVariant(QDateTime::fromString("1997-07-16T19:20:30.123+01:00", Qt::ISODate)) - << jsonArrayWithString.arg("1997-07-16T19:20:30+01:00") + << jsonArrayWithString.arg("1997-07-16T19:20:30.123+01:00") << true; QTest::newRow("datetime data (using UTC)") << QString("name") << QVariant(QDateTime::fromString("1997-07-16T19:20:30.123+01:00", Qt::ISODate).toUTC()) - << jsonArrayWithString.arg("1997-07-16T18:20:30Z") + << jsonArrayWithString.arg("1997-07-16T18:20:30.123Z") << true; QTest::newRow("datetime data (using local time with unspecified timezone)") << QString("name") << QVariant(QDateTime::fromString("1997-07-16T19:20:30", Qt::ISODate)) - << jsonArrayWithString.arg("1997-07-16T19:20:30") + << jsonArrayWithString.arg("1997-07-16T19:20:30.000") << true; } |