summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2009-12-23 13:33:49 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2009-12-23 13:33:49 (GMT)
commit01cf310d21b17d8f57911ae194eaa0ca2472d155 (patch)
tree18cc0b85c785ecc0a59fc5d1a3ec8dc463ad007b /tests
parentec19758c28efc6e1c712d44a6cb32ace38d3178d (diff)
downloadQt-01cf310d21b17d8f57911ae194eaa0ca2472d155.zip
Qt-01cf310d21b17d8f57911ae194eaa0ca2472d155.tar.gz
Qt-01cf310d21b17d8f57911ae194eaa0ca2472d155.tar.bz2
Revert "Daylight savings time for Symbian."
Reverted due to buildbreak on 3.2 ARMV5 Urel. This reverts commit 2a20705f874ddad55282f22fabfe30927729ae50.
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 32fa398..1140402 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()