summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-02-09 14:24:18 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-02-19 03:36:38 +0100
commitea80c076403ea8139fb34366df57cb83f0cb925a (patch)
treea3dfb6777a7f8fa8d1a770e7bc75c51a2b6787f2 /doc
parent038fee761a63090990953c3ee59e566c0ca06d21 (diff)
Fix parsing of dates with spaces in day or month names
Some locales have spaces in their names for months and days. This breaks parsing dates by splitting on spaces, as we were doing for TextDate. Reworked the TextDate parsers to take account of this possibility. Reworked and improved tst_QDate::roundtripGermanLocale(). It didn't configure the locale, so it was actually testing whatever locale you happen to run it with, not specifically German. It's a TextDate test, in any case, so should be #if-ed suitably. It merely did the round-trip, with a comment noting that it should produce no warnings. Changed it to do comparisons. This, with LANG=vi_VT, made it a reproducer for the issue. Fixes: QTBUG-88543 Change-Id: Ie0fb8c6d58f98efcdda2e046523172e66f3491b2 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions