Remove a test based on a mythical transition
Although timeanddate.com does claim Berlin was on double summer-time, the IANA DB doesn't believe in it and the test itself found the text's date-time to be valid, despite a comment claiming we expect it to be invalid (which, these days, we wouldn't - it'd be corrected). Change-Id: I726b28725da976a28410754681ae840e03b15b53 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
79a1986e86
commit
6faf5f2bbc
@ -3345,14 +3345,6 @@ void tst_QDateTime::fromStringStringFormat_data()
|
||||
// the spring-forward, in DST:
|
||||
<< QDateTime(QDate(2008, 10, 19), QTime(1, 23, 45, 678), southBrazil);
|
||||
}
|
||||
|
||||
QTimeZone berlintz("Europe/Berlin");
|
||||
if (berlintz.isValid()) {
|
||||
QTest::newRow("begin-of-high-summer-time-with-tz")
|
||||
<< u"1947-05-11 03:23:45.678 Europe/Berlin"_s << u"yyyy-MM-dd hh:mm:ss.zzz t"_s
|
||||
// That's in the hour skipped - expecting an invalid DateTime
|
||||
<< 1900 << QDateTime(QDate(1947, 5, 11), QTime(3, 23, 45, 678), berlintz);
|
||||
}
|
||||
#endif
|
||||
QTest::newRow("late")
|
||||
<< u"9999-12-31T23:59:59.999Z"_s << u"yyyy-MM-ddThh:mm:ss.zZ"_s << 1900
|
||||
|
Loading…
x
Reference in New Issue
Block a user