aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllocale/data/date.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmllocale/data/date.qml')
-rw-r--r--tests/auto/qml/qqmllocale/data/date.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllocale/data/date.qml b/tests/auto/qml/qqmllocale/data/date.qml
index 3f58497d22..d8cd043cdf 100644
--- a/tests/auto/qml/qqmllocale/data/date.qml
+++ b/tests/auto/qml/qqmllocale/data/date.qml
@@ -7,6 +7,7 @@ QtObject {
locale = Qt.locale(l)
}
+ // Month number 9 is October: JS Date()'s month range is 0 to 11.
function toLocaleString(fmt) {
var d = new Date(2011, 9, 7, 18, 53, 48, 345);
if (fmt < 0)