Don't remove milliseconds now that toString() includes them.
authorMitch Curtis <mitch.curtis@digia.com>
Wed, 5 Jun 2013 12:07:09 +0000 (14:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 5 Jun 2013 13:10:40 +0000 (15:10 +0200)
commit37ec5822522baaa5b6e316103477d6da7e6d6a9c
tree15bc9c99b25ee7a76db63534ec663b98424fa597
parente44e545ccfc6e6ed2847497bc09c6497e364cc98
Don't remove milliseconds now that toString() includes them.

This patch fixes a test failure introduced by
15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c.

tst_QScriptEngine::dateConversionJSQt and
tst_QScriptEngine::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: Iaddfc050adf8360bee776086b27de001702d221d
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
tests/auto/qscriptengine/tst_qscriptengine.cpp