summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-02-04 11:39:55 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2010-02-04 11:39:55 (GMT)
commit4cd8dd562ea149d5a6cdcc15533e4975682106f6 (patch)
treedbb80b6fc0d40170f47df33eec4b06d162a5159b /tests
parente8e838c7e6b464264752af66ea525eb33066ce68 (diff)
downloadQt-4cd8dd562ea149d5a6cdcc15533e4975682106f6.zip
Qt-4cd8dd562ea149d5a6cdcc15533e4975682106f6.tar.gz
Qt-4cd8dd562ea149d5a6cdcc15533e4975682106f6.tar.bz2
Revert "Daylight savings time for Symbian take 2"
This reverts commit 7bc18035816a2eac15dfac4d987eb9bf43f90ef6.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qdatetime/tst_qdatetime.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/qdatetime/tst_qdatetime.cpp b/tests/auto/qdatetime/tst_qdatetime.cpp
index b9d1d7c..86a4c80 100644
--- a/tests/auto/qdatetime/tst_qdatetime.cpp
+++ b/tests/auto/qdatetime/tst_qdatetime.cpp
@@ -147,16 +147,9 @@ Q_DECLARE_METATYPE(QTime)
tst_QDateTime::tst_QDateTime()
{
-#ifdef Q_OS_SYMBIAN
- // Symbian's timezone server cannot handle DST correctly for dates before year 1997
- uint x1 = QDateTime(QDate(2000, 1, 1), QTime()).toTime_t();
- uint x2 = QDateTime(QDate(2000, 6, 1), QTime()).toTime_t();
- europeanTimeZone = (x1 == 946681200 && x2 == 959810400);
-#else
uint x1 = QDateTime(QDate(1990, 1, 1), QTime()).toTime_t();
uint x2 = QDateTime(QDate(1990, 6, 1), QTime()).toTime_t();
europeanTimeZone = (x1 == 631148400 && x2 == 644191200);
-#endif
}
tst_QDateTime::~tst_QDateTime()