summaryrefslogtreecommitdiffstats
path: root/src/sql/doc/snippets/sqldatabase/sqldatabase.pro
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-09-04 15:54:19 +0200
committerAndreas Buhr <andreas.buhr@qt.io>2020-10-30 17:19:27 +0100
commit91140eb7268bc36efceef0459e7b124ce333829e (patch)
treea9c69248e57d2f02e1636e380ef8e22eeb1015e4 /src/sql/doc/snippets/sqldatabase/sqldatabase.pro
parent2da301fe46450eedabfde7860338a2c0066c550b (diff)
Adapt QDate::fromString() to accept negative year numbers
The documentation states that QDate::fromString() accepts negative year numbers, but it did not. This patch adds support for negative year numbers to QDate::fromString() and corresponding unit tests. Furthermore, tests are added for positive signs (+) in date strings. Fixes: QTBUG-84334 Task-number: QTBUG-84349 Change-Id: I575291e7b8317055d4bb530011d7b10c9cd37ae1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase/sqldatabase.pro')
0 files changed, 0 insertions, 0 deletions