diff options
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/checkDateTime-nonstandardFormat.qml')
-rw-r--r-- | tests/auto/qml/qqmlecmascript/data/checkDateTime-nonstandardFormat.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/checkDateTime-nonstandardFormat.qml b/tests/auto/qml/qqmlecmascript/data/checkDateTime-nonstandardFormat.qml new file mode 100644 index 0000000000..9c2e6a7f88 --- /dev/null +++ b/tests/auto/qml/qqmlecmascript/data/checkDateTime-nonstandardFormat.qml @@ -0,0 +1,10 @@ +import Qt.test 1.0 +import QtQml 2.15 + + +MyTypeObject { + Component.onCompleted: { + dateTimeProperty = new Date("1991-08-25 20:57:08 GMT+0000") + boolProperty = !Number.isNaN(dateTimeProperty) + } +} |