diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-31 09:22:47 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-01-31 09:29:43 +0100 |
commit | d31e86f8066bf5d47c480105d579d53ae223aabf (patch) | |
tree | 0c11f782a650971c04ad96c0f4928d4e66edd30b | |
parent | e4d627e1293c024a88a3bc7f6d931d14bbad6e7a (diff) |
tst_qqmlvaluetypeproviders: Choose a date in the middle of the month
If we don't set the date on the date value to be tested, it will be the
current date. If the current date doesn't exist in the month we set, we
get garbage.
Pick-to: 6.5
Fixes: QTBUG-110793
Change-Id: I91db0974e10e11ebce5ddce60f1594285da6fb3f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
-rw-r--r-- | tests/auto/qml/qqmlvaluetypeproviders/data/dateWriteBack.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlvaluetypeproviders/data/dateWriteBack.qml b/tests/auto/qml/qqmlvaluetypeproviders/data/dateWriteBack.qml index fc046972ef..2ab4ea82f6 100644 --- a/tests/auto/qml/qqmlvaluetypeproviders/data/dateWriteBack.qml +++ b/tests/auto/qml/qqmlvaluetypeproviders/data/dateWriteBack.qml @@ -9,6 +9,7 @@ MyTypeObject { Component.onCompleted: { aDateTime.setDate(14); + aDate.setDate(10); aDate.setMonth(8); aTime.setHours(5); aVariant.setMinutes(44); |