Correctly convert an invalid QDateTime to JS
authorLars Knoll <lars.knoll@digia.com>
Wed, 18 Sep 2013 11:29:38 +0000 (13:29 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 18 Sep 2013 16:48:24 +0000 (18:48 +0200)
commitbc8b25dd91e931e892f478ea5ec8f0e3062655ff
tree738e8f3e6b86cab1eccee06839d439034c2a8a72
parent52cc10589a8b3df2876dc7d3855e67bc91ee0e82
Correctly convert an invalid QDateTime to JS

Task-number: QTBUG-33539

Change-Id: I645db2e12e3b46731c0bef04e2d48abb71650974
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4dateobject.cpp
tests/auto/qml/qqmlecmascript/data/date.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/testtypes.cpp
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp