qt5base-lts/tests/auto/corelib/time
Edward Welbourne b26ac46c59 Add support for UTC[+-]\d+(:\d+){,2} time zone IDs
We presently only support the UTC-based offset timezones that are
listed in the CLDR; and it doesn't make sense to list more than these
in the list of available zones. However, if someone sets their TZ
environment variable to a conformant UTC-offset string, we should make
sense of it even if CLDR doesn't mention it. Only do so as final
fall-back, as backends may handle the givne name better (some such IDs
appear in the windows-compatibility list, for example).

Added tests for the new UTC-offset time-zone names.
Removed one test that relied on them not being supported.

[ChangeLog][QtCore][QTimeZone] The constructor can now handle general
UTC-offset zone names. The reported id() of such a zone shall be in
canonical form, so might not match the ID passed to the constructor.

Fixes: QTBUG-77738
Change-Id: I9a0aa68281a345c4717915c8a8fbc2978490d0aa
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-09-16 17:06:28 +02:00
..
qcalendar Rename calendar methods from m{in,ax} to m{in,ax}imum 2019-09-04 18:43:35 +02:00
qdate Remove usages of deprecated APIs from QDateTime 2019-07-02 09:49:36 +02:00
qdatetime MS TZ data: avoid calculating a date in year 0 2019-09-13 10:47:41 +02:00
qtime Separate out the time, zone, date code from corelib/tools/ 2019-06-06 15:54:32 +02:00
qtimezone Add support for UTC[+-]\d+(:\d+){,2} time zone IDs 2019-09-16 17:06:28 +02:00
time.pro Add support for calendars beside Gregorian 2019-08-20 13:41:21 +02:00