diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-12-02 16:15:14 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-12-10 17:26:02 +0100 |
commit | bf65c277892f6f322fa689c06d81ba9b1d9a8038 (patch) | |
tree | 671358b6334f4f946657c9f465405db3fb46d576 /mkspecs | |
parent | c5777ad81cf395dfebbe46c629caca2b933d8008 (diff) |
Fix more mis-handling of spaces in ISO date format strings
ISO date format doesn't allow spaces within a date, although 3339 does
allow a space to replace the T between date and time. Sixteen tests
added to check this all failed. So clean up the handling of spaces in
the parsing of ISO date-time strings.
[ChangeLog][QtCore][QDateTime] ISO 8601: parsing of dates now requires
a punctuator as separator (it previously allowed any non-digit;
officially only a dash should be allowed) and parsing of date-times no
longer tolerates spaces in the numeric fields: an internal space is
only allowed in an ISO 8601 date-time as replacement for the T between
date and time.
Change-Id: I24d110e71d416ecef74e196d5ee270b59d1bd813
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions