qt5base-lts/tests/auto/corelib
Edward Welbourne b4ef4469ba QDateTimeParser: reject all short values in fixed-width fields
Previously, a 1, 2 or 3 for "dd" would be rejected because 10, 20 or
30 would fit in the field and be valid; but 4 or more was accepted,
even though it was too short for the field, because no suffix could
make it valid within the field-width.

[ChangeLog][QtCore][QDateTime] When parsing dates and times from
strings, fixed-width date-time fields, such as a "dd" for day,
QDateTime now rejects all values that should be padded, rather
than only doing so when the value is a prefix of some value that
would fill the field-width.  Use a single letter for the field,
e.g. "d" for day, if you want to accept short
values. (QDateTimeEdit is not affected.)

Task-number: QTBUG-63072
Change-Id: I22d223c50057c3edab4ef7f01d9ed0f58e9139c1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2017-11-30 20:19:29 +00:00
..
animation macOS: Blacklist tst_QSequentialAnimationGroup::groupWithZeroDurationAnimations() 2017-11-03 21:15:08 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
io Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
itemmodels QSortFilterProxyModel: Clear persistent indexes on source model change 2017-11-30 17:29:33 +00:00
json Improve symmetry of variant json conversions 2017-07-25 09:00:46 +00:00
kernel Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
mimetypes QMimeDatabase: handle removal of a mime directory 2017-11-30 12:54:52 +00:00
plugin Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
statemachine Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
thread Merge remote-tracking branch 'origin/5.10' into dev 2017-11-30 09:16:58 +01:00
tools QDateTimeParser: reject all short values in fixed-width fields 2017-11-30 20:19:29 +00:00
xml QXmlStreamWriter: Avoid writing invalid characters 2017-09-13 07:29:00 +00:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00