summaryrefslogtreecommitdiffstats
path: root/src/xml/doc/snippets/code
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-11-24 17:32:50 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-11-27 13:26:53 +0100
commitcdcfb7c4f905fd75887d9f7aa5646dd91edde3ab (patch)
tree17b26b7d1bda7fd406e90448a7a38cb79f7e339a /src/xml/doc/snippets/code
parent380d97e1bd15e753907c378a070bdf7f1c1cf06e (diff)
QDateTimeParser: fix handling of AM/PM texts
An AM/PM field is only fixed-width if the locale's AM and PM texts have the same length, which we shouldn't take for granted. (They're not in Albanian, Bosnian or Cherokee.) In sectionMaxSize(), count tells us the case, so we shouldn't be taking both case variants into account, only the one we need. Change-Id: I03b985cc5bf74c34742480558cef08af6343ed93 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/xml/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions