summaryrefslogtreecommitdiffstats
path: root/src/widgets/itemviews/qlistview.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-08-06 12:29:56 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-01 17:06:52 +0000
commit561ba60ea436c06f7aa88ae9c8a847f851851112 (patch)
tree17c215cfc88f77532a93cc10d1b69ac2ce051280 /src/widgets/itemviews/qlistview.cpp
parentb01986df9122f59a2b87153c803232b6c9fb5113 (diff)
qlocale_win: Fix non-standalone month names
We have previously been using the standalong (nominative) month names both when asked for that and when asked for the plain (genitive) month name, probably because there was no LCTYPE value for the latter. However, MS's docs for the standalone values do contain a comment telling us how to get the genitive names. Rename the old monthName() to standaloneMonthName() and add a monthName() that calls GetDateFormat() suitably, as described by the MS doc. Fixes: QTBUG-92018 Fixes: QTBUG-86279 Change-Id: I27f63198c3a15b792683f476d2019078b0860f99 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> (cherry picked from commit 38ec2c830b849ad44ca7e16bd9c4722e0bcdb61f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/widgets/itemviews/qlistview.cpp')
0 files changed, 0 insertions, 0 deletions