summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qdatetimeparser_p.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-19 19:34:52 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2016-01-29 10:35:03 +0000
commit2736d7921dfcedaa88382e8279dc23e9b1fd3214 (patch)
treebfcd07e5ff9532b388cfa2f50503580419573a59 /src/corelib/tools/qdatetimeparser_p.h
parentee6463ffd3d12f9d5b4c90d22ca9fcab30483ebc (diff)
Don't let a good day cause date-time parser to forget a conflict.
Setting conflicts to isSet & DaySection cleared it if we hadn't seen the day stipulated, even if there had been a conflict (e.g. over year) before we hit the day-of-week that didn't match the (unset, so defaulting to) 1st of the month. Explicitly test for conflict and only set conflicts (to true) if there is a conflict. Added regression test. Change-Id: I7363eb66a8bb808d341738d14969039834f50db8 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
Diffstat (limited to 'src/corelib/tools/qdatetimeparser_p.h')
0 files changed, 0 insertions, 0 deletions