diff options
author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-10-11 01:00:18 +0200 |
---|---|---|
committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-10-11 01:00:19 +0200 |
commit | 66db74e53e3fa4aedeb519b8c8626066e1d6a1ce (patch) | |
tree | 619645d587124358a835341691ee20559865aea8 /tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml | |
parent | bdc12f241118304a644f433bc3b75085c27a261d (diff) | |
parent | 45f95e74297ab3778965319c175a6d726f9c8afe (diff) |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I1359574c7d89aaf3328958e2f667ba1e599ff7f1
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml b/tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml new file mode 100644 index 0000000000..6dd84810e6 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/checkDate-denormal-leap.qml @@ -0,0 +1,11 @@ +import Qt.test 1.0 +import QtQuick 2.0 + +MyTypeObject { + Component.onCompleted: { + dateProperty = new Date(2020, 2, 0) // Feb 29th + boolProperty = (dateProperty.getFullYear() == 2020 + && dateProperty.getMonth() == 1 + && dateProperty.getDate() == 29) + } +} |