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>
Showing
Please register or sign in to comment