Don't remove milliseconds now that toString() includes them.
authorMitch Curtis <mitch.curtis@digia.com>
Wed, 5 Jun 2013 09:58:15 +0000 (11:58 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 5 Jun 2013 10:58:26 +0000 (12:58 +0200)
commitd34a135a5772ab208745aa3490d95d1302e366ac
treeb83e7e2ed13b9a440bb332ba09edefa839002517
parent0462193b6fb97fbe7ccde496c33d82d4d5fce8c0
Don't remove milliseconds now that toString() includes them.

This patch fixes a test failure introduced by
15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c.

tst_QJSEngine::dateConversionJSQt and tst_QJSEngine::dateConversionQtJS
removed milliseconds from the JS-converted datetime, as
QTime::toString() previously did not include them. Now it does, so we
can remove this code.

Change-Id: I48604a2eb4ed854665c9c9a24ba7b03657fea116
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
tests/auto/qml/qjsengine/tst_qjsengine.cpp