diff options
-rw-r--r-- | tests/auto/qml/qqmllocale/tst_qqmllocale.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp b/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp index b92c722832..d565ad557c 100644 --- a/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp +++ b/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp @@ -889,10 +889,6 @@ void tst_qqmllocale::dateToLocaleTimeStringFormatted_data() void tst_qqmllocale::dateToLocaleTimeStringFormatted() { -#if defined(Q_OS_WIN) - // QTBUG-34406 - QSKIP("These tests are not DST-proof under Windows"); -#endif QFETCH(QString, locale); QFETCH(QString, format); @@ -914,7 +910,7 @@ void tst_qqmllocale::dateToLocaleTimeStringFormatted() Q_ARG(QVariant, QVariant(format))); QLocale l(locale); - QCOMPARE(val.toString(), l.toString(dt.time(), format)); + QCOMPARE(val.toString(), l.toString(dt, format)); } void tst_qqmllocale::dateFromLocaleString_data() |