summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/opengl/main.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-02-14 17:59:33 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-02-27 10:48:25 +0100
commit0ad4f86729d3ab1ee7eafc0dace44ef1fdb11e55 (patch)
tree9175bbeaa30289a7539a9b7d2123d4b160ccaade /tests/benchmarks/opengl/main.cpp
parentaf837734b2259201f126b206bd5299497e080f7b (diff)
Purge QRegExp use in QDateTime's rfcDateImpl()
Replace with a parser which actually does the job right, fixing various infelicities in the parsing in the process. Make the parser strict about formatting. Adjusted tests to match. Fixed some QTime invalidity tests to each test only one invalidity at a time (the invalid year and day tests also used an invalid month). [ChangeLog][QtCore][QDateTime] The parser for the Qt::RFC2822Date format is now stricter, requiring the text to exactly match the form of one of the relevant formats. A valid date or time will still be parsed, even if the other part of the content is invalid, as long as it (and any offset, if present) has the right form. In particular, the parser now rejects texts with trailing cruft (other than space). Fixes: QTBUG-80038 Change-Id: Id25675afd75f82f6351f20e79f0154f3ceda35ac Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks/opengl/main.cpp')
0 files changed, 0 insertions, 0 deletions