Fix setUTCXxx methods in Date
authorLars Knoll <lars.knoll@digia.com>
Tue, 9 Sep 2014 13:39:11 +0000 (15:39 +0200)
committerLars Knoll <lars.knoll@digia.com>
Thu, 11 Sep 2014 07:57:00 +0000 (09:57 +0200)
commit046cce32d9f818809382fcbbff0cfa4adfe8d3f7
treec8ae8010377b5cc13967654d7950195db8281f5d
parent91d6a63ab317817990c3b2306860adbd8916cca4
Fix setUTCXxx methods in Date

The methods where converting doing a localtime->UTC
conversion even though the input was already in UTC.

Task-number: QTBUG-38448
Change-Id: I4409275fade0dd2a677af2293edc87445f853879
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4dateobject.cpp
tests/auto/qml/qqmlecmascript/data/utcdate.qml [new file with mode: 0644]
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp