qt5base-lts/tests/auto/corelib/tools
Edward Welbourne 285596ee19 Special-case parsing of Zulu time-zone in date-times
When parsing a date-time's zone, a stray Z denotes UTC (a.k.a. Zulu
time), despite not being a valid name for the zone.  Clients parsing
such date strings had to treat the Z as a literal, rather than a
zone-ID, but then they got back a LocalTime instead of the UTC the
string actually described.  So teach QTimeZoneParser to handle this
special case and adapt an existing test (that used a time ending in Z,
but had to treat it as a local time) to check this works.

[ChangeLog][QtCore][QDateTime] When parsing a time-zone, "Z" is now
recognized as an alias for UTC.

Change-Id: Ib6aa2d8ea2dc6b2da526b39aec74dbc007f90fd8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-11-14 16:44:27 +00:00
..
collections Fix tst_Collections for gcc/arm 2017-04-07 05:54:04 +00:00
containerapisymmetry Add front()/back() to QString, QStringRef, QByteArray and QLatin1String 2017-04-07 08:32:32 +00:00
qalgorithms
qarraydata tst_QArrayData: fix unused variable warning in reallocate() 2017-03-22 09:22:34 +00:00
qarraydata_strictiterators
qbitarray
qbytearray Fix some MSVC warnings in tests 2017-06-28 17:58:13 +00:00
qbytearraylist
qbytearraymatcher
qbytedatabuffer
qcache
qchar Use new Q_STDLIB_UNICODE_STRINGS and Q_COMPILER_UNICODE_STRINGS 2017-04-20 18:10:59 +00:00
qcollator macOS/iOS: Correctly ignore punctuation in QCollator 2017-06-13 04:08:56 +00:00
qcommandlineparser Properly use the "process" feature 2017-02-27 15:44:46 +00:00
qcontiguouscache
qcryptographichash QCryptographicHash: make SHA3 calculate SHA3, not Keccak 2017-03-31 07:58:35 +00:00
qdate Q(Date|Time)+: in QDebug's <<, handle invalid explicitly 2017-07-07 18:08:59 +00:00
qdatetime Special-case parsing of Zulu time-zone in date-times 2017-11-14 16:44:27 +00:00
qeasingcurve
qexplicitlyshareddatapointer
qfreelist
qhash Merge remote-tracking branch 'origin/5.9' into dev 2017-05-07 13:08:18 +02:00
qhash_strictiterators
qhashfunctions QHash: make it so a zero seed selects a constant algorithm 2017-04-26 15:22:44 +00:00
qlatin1string QLatin1String: add iterators 2017-03-07 16:38:58 +00:00
qline
qlinkedlist
qlist
qlist_strictiterators
qlocale Merge remote-tracking branch 'origin/5.9' into dev 2017-08-02 22:52:32 +02:00
qmacautoreleasepool macOS: Detect use of heap-allocated QMacAutoReleasePool 2017-09-08 12:05:21 +00:00
qmap Implement key-value iterator 2017-05-05 14:25:56 +00:00
qmap_strictiterators
qmargins
qmessageauthenticationcode
qpair
qpoint
qpointf
qqueue
qrect Improve rounding of QRect::toRect 2017-06-26 21:35:38 +00:00
qregexp
qregularexpression QRegularExpressionMatch: add QStringView-related functions 2017-04-04 15:35:22 +00:00
qringbuffer
qscopedpointer tst_qscopedpointer: Actually test what test name says it should test 2017-05-03 20:10:00 +00:00
qscopedvaluerollback
qset
qsharedpointer tst_QSharedPointer: Terminate hanging qmake-processes 2017-06-28 17:53:24 +00:00
qsize
qsizef
qstl
qstring Merge remote-tracking branch 'origin/5.9' into dev 2017-04-20 12:31:27 +02:00
qstring_no_cast_from_bytearray
qstringapisymmetry Mark the previously public qstringalgorithms.h functions private 2017-10-29 10:13:13 +00:00
qstringbuilder
qstringiterator QStringIterator: port to QStringView 2017-04-03 15:41:09 +00:00
qstringlist QStringList: add contains(QLatin1String) overload 2017-03-20 06:16:59 +00:00
qstringmatcher
qstringref QStringRef: fix trimmed() returning null strings on empty input 2017-04-27 17:04:32 +00:00
qstringview Improve qustrlen further by avoiding the alignment prologue 2017-09-26 18:19:35 +00:00
qtextboundaryfinder Use QT_CONFIG(library) instead of QT_NO_LIBRARY 2017-03-06 11:27:20 +00:00
qtime QLocale: fix handling of milliseconds in string format and document 2017-07-07 07:21:53 +00:00
qtimeline Blacklist flaky tst_QTimeLine tests on macOS 10.12 2017-06-18 12:58:53 +00:00
qtimezone Add test for time zone transitions near the epoch 2017-07-28 08:14:36 +00:00
qvarlengtharray Merge remote-tracking branch 'origin/5.9' into dev 2017-03-02 09:04:38 +01:00
qvector
qvector_strictiterators
qversionnumber QVersionNumber: add fromString(QStringView/QLatin1String) overloads 2017-04-08 05:40:52 +00:00
tools.pro macOS: Detect use of heap-allocated QMacAutoReleasePool 2017-09-08 12:05:21 +00:00