aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/checkDate-October.qml
blob: 6686831e1c12179a10d8b2d022bec647ba546a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt.test 1.0
import QtQuick 2.0

MyTypeObject {
    Component.onCompleted: {
        // QTBUG-78996
        dateProperty = new Date(2019, 9, 3)
        boolProperty = (dateProperty.getFullYear() == 2019
                        && dateProperty.getMonth() == 9
                        && dateProperty.getDate() == 3)
    }
}