SUMMARY When using LC_TIME zh_CN.UTF-8, when weekday label length is set to letter only (M), the letter chosen is incorrect. STEPS TO REPRODUCE 1. Set LC_TIME to zh_CN.UTF-8 2. Set weekday label length to letter only (M) OBSERVED RESULT It shows 周, 周, 周, 周, 周, 周, 周 for S, M, T, W, T, F, S (hopefully I am correct since I don't use english for time). EXPECTED RESULT It should have shown 日, 一, 二, 三, 四, 五, 六. It should have take the last character instead of the first when using zh_CN (and related chinese locale). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.24.1 KDE Frameworks Version: 5.91.0 Qt Version: 5.15.2 Kernel Version: 5.16.10-zen1-1-zen (64-bit) Graphics Platform: X11 Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics Memory: 15.1 GiB of RAM Graphics Processor: AMD RENOIR ADDITIONAL INFORMATION
A possibly relevant merge request was started @ https://invent.kde.org/pim/merkuro/-/merge_requests/424
Git commit d25f3ffde4d16d6d66d9d4bc6a16b1b99fca4f13 by Carl Schwan, on behalf of Zhangzhi Hu. Committed on 12/01/2024 at 09:09. Pushed by carlschwan into branch 'master'. Fix wrong weekday label of Chinese locale when length set to letter only (M) When using Chinese locale (zh_CN / zh_TW / zh_HK / zh_SG) and weekday label length is set to letter only (M), the letter chosen is incorrect. The last character should be taken instead of the first when using Chinese locale. M +1 -1 src/calendar/qml/MainViews/BasicMonthGridView.qml https://invent.kde.org/pim/merkuro/-/commit/d25f3ffde4d16d6d66d9d4bc6a16b1b99fca4f13
Git commit b437923f8c0bf57770a21a9dea1cf6954a79db08 by Carl Schwan, on behalf of Zhangzhi Hu. Committed on 12/01/2024 at 09:10. Pushed by carlschwan into branch 'release/24.02'. Fix wrong weekday label of Chinese locale when length set to letter only (M) When using Chinese locale (zh_CN / zh_TW / zh_HK / zh_SG) and weekday label length is set to letter only (M), the letter chosen is incorrect. The last character should be taken instead of the first when using Chinese locale. (cherry picked from commit d25f3ffde4d16d6d66d9d4bc6a16b1b99fca4f13) M +1 -1 src/calendar/qml/MainViews/BasicMonthGridView.qml https://invent.kde.org/pim/merkuro/-/commit/b437923f8c0bf57770a21a9dea1cf6954a79db08